Home > database > ensemble_datastruct2dataset.m

ensemble_datastruct2dataset

PURPOSE ^

Converts an Ensemble data struct to a dataset variable

SYNOPSIS ^

function ds = ensemble_datastruct2dataset(data_st)

DESCRIPTION ^

 Converts an Ensemble data struct to a dataset variable

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function ds = ensemble_datastruct2dataset(data_st)
0002 % Converts an Ensemble data struct to a dataset variable
0003 
0004 % 14Sep2014 Petr Janata
0005 
0006 ds = dataset(data_st.data{:},'VarNames',data_st.vars);
0007 
0008 end

Generated on Wed 20-Mar-2019 04:00:51 by m2html © 2003