メインコンテンツ

slrealtime loadParamSet

(Linux-based RTOS) Restore parameter values saved in specified file

Description

slrealtime loadParamSet options --PageNumber <page> loads the parameter values into the given memory page of the loaded real-time application from 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 loadParamSet command that you can run from the target computer command line corresponds to the loadParamSet function that you can run from the MATLAB® Command Window on the development computer.

example

Examples

collapse all

From target computer command line, load parameters from the parameter set file outportTypes into the loaded real-time application on page 0.

slrealtime loadParamSet --FileName outportTypes --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 loadParamSet --FileName outportTypes --PageNumber 0

Note

The slrealtime loadParamSet command for the target command line does not support the parameter_set option that is available for the loadParamSet 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