Command:

getNumFactors (  
int value
)

What:

Retrieves the number of factors loaded in the configuration

Parameters:

value
[integer]
the number of factors loaded in the current configuration will be returned in this variable. (Not necessary in Matlab, the result will be returned in the system variable ans)

Return:

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

Examples:


fac_num=getNumFactors()

this Matlab command returns in the variable fac_num the number of factors loaded in the current configuration.



- A Matlab example script using this command set_model_inputs.m

All Factor Commands: