get_parfields
returns cell array of strings with names of core primary parameters for a given DEB model
Contents
Syntax
[coreParFields, info] = get_parfields (model)
Description
Provides the list of core primary parameters which must be present in pars_init_my_pet for a given model
Input
- model: string with name of model: 'std', 'stf', 'stx', 'ssj', 'sbp', 'abj', 'asj', 'abp', 'hep', 'hap', 'hex', 'nat'.
- addchem: optional boolean, to include chemical parameters. Default 0: not include them
Output
- coreParFields: cell string with field names
- info: scalar 1 for success, 0 for failure
Remarks
check_my_pet is a macro for check_my_pet_stnm, which checks each species one by one If the model doesn't exist, the output is empty and info = 0
Example of use
[coreParFields, info] = get_parfields(metaPar.model)