Main Content

slrealtime saveParamSet

(Linux-based RTOS) Save real-time application parameter values

Description

slrealtime saveParamSet options --PageNumber <page> saves the parameter values from the given memory page of the loaded real-time application into a parameter set file on the Speedgoat® target computer. Alternatively, the function can accept -F (in place of --FileName) and -P (in place of --PageNumber).

For more information about using this and other command-line interface commands, see Target Computer Command-Line Interface.

The slrealtime saveParamSet command that you can run from the target computer command line corresponds to the saveParamSet function that you can run from the MATLAB® Command Window on the development computer.

example

Examples

collapse all

Save parameters from the loaded application slrt_ex_osc_outport to a file named myParamSet.

slrealtime saveParamSet --FileName myParamSet -PageNumber 0

Input Arguments

collapse all

Specify options as --Name1 <Value1> ... --NameN <ValueN>, where --Name is the option name and <Value> is the corresponding value. The order of these options does not matter.

Example: slrealtime saveParamSet --FileName myParamSet -PageNumber 0

Note

The slrealtime saveParamSet command for the target command line does not support the options option that is available for the saveParamSet command for the MATLAB Command Window.

Enter the name of the parameter set file on the target computer file system.

Example: --FileName outportTypes

(Optional.) Select memory page number of the loaded real-time application for parameters, specified as a nonnegative integer.

Example: --PageNumber 0

Use the username and password options when the TargetOptions property useNetrc value (false) disables the .netrc file on the target computer. Do not use the username and password options when useNetrc is enabled.

Example: --username slrt

Use the username and password options when the TargetOptions property useNetrc value (false) disables the .netrc file on the target computer. Do not use the username and password options when useNetrc is enabled.

Example: --password slrt

Version History

Introduced in R2021a