Home > utils > get_vals_from_data_struct.m

get_vals_from_data_struct

PURPOSE ^

SYNOPSIS ^

function columnData = get_vals_from_data_struct(data_st,columnName)

DESCRIPTION ^

 [data_st] = ensemble_get_vals_from_data_struct(data_st,column)


 returns a column of a data struct initialized by
 ensemble_init_data_struct

 14 Feb, 2007 First Version, S.T.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function columnData = get_vals_from_data_struct(data_st,columnName)
0002 %
0003 % [data_st] = ensemble_get_vals_from_data_struct(data_st,column)
0004 %
0005 %
0006 % returns a column of a data struct initialized by
0007 % ensemble_init_data_struct
0008 %
0009 % 14 Feb, 2007 First Version, S.T.
0010 
0011 colIdx = strmatch(columnName,data_st.vars);
0012 columnData = data_st.data{colIdx};
0013 
0014 
0015 
0016

Generated on Wed 20-Sep-2023 04:00:50 by m2html © 2003