<< Configuration Configuration CLx_setting_get >>

celestlabx >> CelestLabX > Configuration > CLx_setting_set

CLx_setting_set

Sets the value of a setting parameter

Calling Sequence

CLx_setting_set(name, value)

Description

Sets the value of a setting parameter. See CLx_settings for the list of available setting parameters.

The configuration file is updated if the value has changed.

Arguments

name:

(string) Name of the setting parameter.

value:

(variable type) Value of the setting parameter.

Examples

// Warning: these calls will change the settings! 
CLx_setting_set("LOG_VERBOSITY", "DEBUG");
CLx_setting_set("LOG_FILE", fullfile(TMPDIR, "celestlabx.log"));
CLx_setting_set("STELA_LOG", %t);

Report an issue
<< Configuration Configuration CLx_setting_get >>