Main Content

setDefaultParamSet

Set default parameter set on target computer

Since R2024a

Description

setDefaultParamSet(target_object,app_name,parameter_set_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.

example

Examples

collapse all

This example creates a target object tg representing the target computer, connects MATLAB to the target computer, and set the specified parameter set as the default parameter set.

tg = slrealtime;
connect(tg);
setDefaultParamSet(tg,app_name,paramSetName);
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