Command:
getNumFactorParams ( |
|
What:
Retrieves the number of parameters associated with a factor, in order to use this information whit getFactorParams and getFactorNames
Parameters:
name [char*] |
the name of the factor of interest. It must begin with a letter and can contain only
letters and numbers, this parameter cannot be null! |
numPar [integer] |
a preallocated integer that will contain the number of parameters associated with a factor |
Return:
error_code [int]: 1 if the operation has occurred without errors, 0 if an error has occurred
Examples:
num_par=getNumFactorParams('fac1')
- A Matlab example script using this command set_model_inputs.m