read_allStat
read statistics and/or parameters in allStat.mat
Contents
Syntax
[var entries units label] = read_allStat(varargin)
Description
read statistics and/or parameters in allStat.mat.
Input:
- vararg: names of variables or cell-string with names of variables
Output
- var: (n,x)-matrix with values of variables or cell-array if some variable is not numerical
- entries: n-cell string with names of entries
- units: cell string with units of variables
- label: cell string with description of variables
Remarks
Make sure that allStat has been generated at the correct temperature; All parameters are at T_ref, the statistics at T or T_typical, see write_allStat. Print all to screen: printpar(select, read_allStat('Ww_i')) Print selection to screen: tax = select; tax(read_allStat('N_i')<10) Put core parameters in a structure with read_pars
Example of use
complete_mre = read_allStat('COMPLETE', 'MRE');