Command:

delFactor (  
char* name
)

What:

Deletes the factor with the name passed as argument from the current configuration

Parameters:

name
[char*]
defines the name of the factor to be deleted.
It must begin with a letter and can contain only letters and numbers, this parameter cannot be null!

Return:

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

Warnings:

If a correlation structure was set it is discarded after this command has been invoked

Examples:

delFactor('fac1')

the factor fac1 is removed from the current configuration and if a Stein correlation was set it is discarded


- A Matlab example script using this command set_model_inputs.m

All Factor Commands: