Parameter Set Usage with MATLAB
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
Application | Represent application files on development computer (Since R2020b) |
ParameterSet | Real-time application parameter set (Since R2021a) |
Target | Represent real-time application and target computer status (Since R2020b) |
Functions
slrealtime | Interface for managing target computer (Since R2020b) |
compare | Compare the parameters in two parameter set objects (Since R2023b) |
clearDefaultParamSet | Clear default parameter set on target computer (Since R2024a) |
delete | Deletes a ParameterSet object (Since R2021a) |
explorer | Open Parameter Explorer and view Parameter Set (Since R2021a) |
exportParamSet | Write ParameterSet object data to parameter set file (Since R2021a) |
exportToModel | Export values from ParameterSet object to model (Since R2021a) |
getCurrentParamSet | Get current parameter set on target computer (Since R2024a) |
getDefaultParamSet | Get default parameter set on target computer (Since R2024a) |
importParamSet | Create ParameterSet object (Since R2021a) |
listParamSet | List available parameter set files for application (Since R2021a) |
loadParamSet | Restore parameter values saved in specified file (Since R2021a) |
resolve | Compare parameter set differences and output resolved parameter set object (Since R2023b) |
saveParamSet | Save real-time application parameter values (Since R2021a) |
set | Set a parameter value in a ParameterSet object (Since R2021a) |
setDefaultParamSet | Set default parameter set on target computer (Since R2024a) |
syncWithApp | Sync model parameters to real-time application parameters (Since R2021a) |
addParamSet | Add a parameter set to a real-time application (Since R2021a) |
updateStartupParameterSet | Update the startup parameter set for an application (Since R2021a) |
Topics
- Save and Reload Parameters by Using Simulink Real-Time Explorer
Save real-time application parameter values to a file on the target computer.
- Save and Reload Parameters by Using the MATLAB Language
Save real-time application parameter values to a file on the target computer.
- Save Current Set of Real-Time Application Parameters to Target Computer
To save a set of parameters from a real-time application to a parameter set file, use the saveParamSet function.
- Load Saved Parameters to Real-Time Application from Target Computer
To load a parameter set file of saved parameters to a real-time application, use the
loadParamSet
function. - View or Edit Parameter Values in Parameter Set on Development Computer
To view or edit parameters in a parameter set, use the
ParameterSet
object workflow by importing a previously saved parameter set file to the development computer. - Select Startup Parameter Set for Application on Development Computer
After you have added one or more parameter sets to an
Application
object by using theaddParamSet
function, you can select one of these parameter sets as the startup parameter set for the real-time application by using theupdateStartupParameterSet
function. - Select Default Parameter Set for Application on Target Computer
After you have created one or more parameter set file on the target computer, you can select one of these parameter sets as the default parameter set for the real-time application by using the
setDefaultParamSet
.