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 Wed 20-Sep-2023 04:00:50 by m2html © 2003