Main Content

setDefaultParamSet

Set default parameter set selection on target computer

Since R2024a

Description

example

setDefaultParamSet(target_object,parameter_set_name,app_name) sets parameter_set_name as the default parameter set for the application app_name on the target computer target_object which the application loads during startup. For more information about using the parameter set workflow, see Save and Reload Parameters by Using the MATLAB Language.

Examples

collapse all

Create a target object, connect MATLAB to the target computer, set the specified parameter set as the default parameter set, and reboot the target computer.

tg = slrealtime;
connect(tg);
setDefaultParamSet(tg,paramset_name,app_name);
load(tg,app_name);

Input Arguments

collapse all

Provides access to methods that manipulate the target computer properties.

Example: tg

Parameter set name, specified as a character vector or string scalar. Sets the specified parameter set as the default option for the application.

Example: 'slrt_paramset_default'

Provides name of real-time application MLDATX file that you built from the model.

Example: 'slrt_ex_osc'

Version History

Introduced in R2024a