Command:

getFactorParamNames (  
char* name,
int maxNumPar,
char** ParamNames
)

What:

Given a factor name it retrieves the names of the parameters associated with that factor

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!
maxNumPar
[integer]
the size of the preallocated array paramNames, its size can be retrieved by invoking getNumFactorParams. It Matlab this parameter is not necessary so the call becomes simply getFactorParamNames(name)
paramNames
[char**]
a preallocated array with size equal to maxNumPar

Return:

error_code [int]: 1 if the operation has occurred without errors, 0 if an error has occurred

Examples:


factor_params=getFactorParamNames('fac1')

this command in Matlab retrieves the names of the parameters of factor fac1 and copies them in the variable factor_params

All Factor Commands: