User`s guide

Parameter Tuning and Inlining Parameters
3-43
Parameter Tuning and Inlining Parameters
By default, xPC Target lets you change parameters in your target application
while it is running in real time.
You can also improve overall efficiency by inlining parameters. xPC Target
supports the Real-Time Workshop inline parameters functionality (see the
using Real-Time Workshop documentation for further details on inlined
parameters). By default, this functionality makes all parameters nontunable.
If you want to make some of the inlined parameters tunable, you can do so
through the Model Parameter Configuration dialog (see “Inlined Parameters”
on page 3-56.)
This section includes the following topics:
“Parameter Tuning with xPC Target Explorer” on page 3-44 — Use the xPC
Target Explorer to change block parameters in your target application.
“Parameter Tuning with MATLAB” on page 3-47 — Use the MATLAB
Command Window and target objects in your MATLAB workspace to change
target application parameters.
“Parameter Tuning with Simulink External Mode” on page 3-50 — Connect
your Simulink model to your target application, and change target
application parameters by changing Simulink block parameters.
Note Opening a dialog box for a source block causes Simulink to pause.
While Simulink is paused, you can edit the parameter values. You must close
the dialog box to have the changes take effect and allow Simulink to continue.
“Parameter Tuning with a Web Browser” on page 3-53 — Connect your
target application to a Web browser with the target application running on
a target PC connected to a network.
“Inlined Parameters” on page 3-56 — Inline parameters and specify that
some parameters can be tunable.