Home > database > ensemble_datastruct2table.m

ensemble_datastruct2table

PURPOSE ^

Converts an Ensemble data struct to a table variable

SYNOPSIS ^

function ds = ensemble_datastruct2table(data_st)

DESCRIPTION ^

 Converts an Ensemble data struct to a table variable

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function ds = ensemble_datastruct2table(data_st)
0002 % Converts an Ensemble data struct to a table variable
0003 
0004 % 17Sep2014 Petr Janata
0005 
0006 ds = table(data_st.data{:},'VariableNames',data_st.vars);
0007 ds.Properties.Description = data_st.name;
0008 
0009 end

Generated on Sat 25-May-2019 04:00:51 by m2html © 2003