Contenuto principale

loadPreviousParamSetOnAppLoad

Load autosaved parameter set on application reload

Since R2026a

Description

loadPreviousParamSetOnAppLoad(target_object,true) loads the application with the parameter set that was last autosaved on the Speedgoat® target computer.

example

loadPreviousParamSetOnAppLoad(target_object,false) loads the application with the default parameter set.

Examples

collapse all

When reloading the real-time application, load the autosaved parameter set.

Load the real-time application.

modelName = "slrt_ex_osc_outport";
tg = slrealtime("TargetPC1");
load(tg,modelName);

Enable loading the autosaved parameter set when you reload the application.

loadPreviousParamSetOnAppLoad(tg,true);

Input Arguments

collapse all

Object that represents target computer, specified as a Target object. The object provides access to methods that manipulate the target computer properties.

Example: tg

Version History

Introduced in R2026a