Contenuto principale

Create and Use Parameter Sets with MATLAB Language

Parameter set creation, parameter set operations, select default or startup parameter set

Use a ParameterSet object to represent the contents of a parameter set file imported from a real-time application that is loaded on a target computer and provide access to methods and properties related to the parameter set file.

Objects

ApplicationRepresent application files on development computer
ParameterSetReal-time application parameter set
TargetRepresent real-time application and target computer status

Functions

expand all

addParamSetAdd a parameter set to a real-time application
getParamSetGet parameter set from real-time application (Since R2026a)
exportParamSetWrite ParameterSet object data to parameter set file
exportToModelExport values from ParameterSet object to model
importParamSetCreate ParameterSet object
listParamSetList available parameter set files for application on target computer
loadParamSetRestore parameter values saved in specified file
saveParamSetSave real-time application parameter values
compareCompare the parameters in two parameter set objects (Since R2023b)
deleteDeletes a ParameterSet object
explorerOpen Parameter Explorer and view Parameter Set
isAutoSaveOnStopEnabledGet status of parameter set autosave when application stops (Since R2026a)
loadPreviousParamSetOnAppLoadLoad autosaved parameter set on application reload (Since R2026a)
resolveCompare parameter set differences and output resolved parameter set object (Since R2023b)
setSet a parameter value in a ParameterSet object
syncWithAppSync model parameters to real-time application parameters
clearDefaultParamSetClear default parameter set on target computer (Since R2024a)
getCurrentParamSetGet current parameter set on target computer (Since R2024a)
getDefaultParamSetGet default parameter set on target computer (Since R2024a)
setDefaultParamSetSet default parameter set on target computer (Since R2024a)
updateStartupParameterSetUpdate the startup parameter set for an application

Topics