[CellOut,CellNames] = AtmStruct2Cell(Atm,[LaunchExcel])
Converts an Atm structure or array of structures into cell arrays for viewing with Microsoft Excel. If the input Atm structure is continuous, the output will be a single element cell array with the model evaluations that would get put into a single Excel spreadsheet. Otherwise, the output will result in an Excel spreadsheet for each model in the input Atm structure and an additional spreadsheet titled 'Geom' containing z and dz. Each element of the output CellOut will be a cell array of data.
Parameters |
Description |
Atm [struct] |
Structure or array of structures from AtmStruct |
LaunchExcel [bool] |
true to display structures in an Excel Worksheet. Defaults to false |
Return Values |
Description |
CellOut [cell] |
Cell array of cells containing structure field names and model data |
CellNames [cell] |
Cell array of strings indicating ordering of data in CellOut |
>> Atm = ChangeAtm(AtmStruct,'alpha',[0 1 2 3 4]);
>> CellOut = AtmStruct2Cell(Atm,true)
>> Cn2 = CellOut{strcmp(CellNames,'Cn2')}
Copyright (c) 2009. All rights reserved.
|
What do you think about this topic? Send feedback!
|