Parameter Tuning with MATLAB

Tunable block and global parameter updating, parameter sweeps, extreme value tests

Query and modify tunable block and global parameters with MATLAB® in your real-time application as it is running. Perform parameter sweeps and extreme value tests.


SimulinkRealTime.targetRepresent real-time application and target computer status
SimulinkRealTime.InstrumentationCreate a real-time instrumentation object


slrtInterface for managing target computer
viewTargetScreenOpen real-time window on development computer



Tunable Block Parameters and Tunable Global Parameters

Changing tunable block parameters and tunable global parameters during real-time execution.

Parameter Tuning

Tune Parameters with MATLAB Language

Change block parameters while your real-time application is running on the target computer.

Tune Inlined Parameters with MATLAB Language

Tune inlined parameters that have been made tunable with MATLAB variables.

Tune Parameter Structures with MATLAB Language

Organize related parameters into a structure and use the structure to tune parameters.

Save and Reload Parameters with MATLAB Language

Save real-time application parameter values to a file on the target computer.

MATLAB Interface

Real-Time Application Objects

Use the MATLAB Command Window to change properties and control the target computer and your real-time application.


Troubleshoot Parameters Not Accessible by Name

Investigate issues that prevent you from observing or tuning some parameters in the real-time application.

Troubleshoot Instance-Specific Parameters Not Saved

Investigate issues that prevent saving instance-specific parameters and parameters with custom storage classes to a MAT file.

Troubleshoot Instrument Label Not Present

Investigate issues that produce error 'The given key was not present in the dictionary' for instrument labels.

Internationalization Issues

Learn about Simulink® Real-Time™ support for internationalization.

Featured Examples