| xPC Target | ![]() |
Control with Simulink External Mode
Control of your xPC Target application with Simulink is limited to connecting a Simulink model to a target application through external mode, and starting the target application. Using Simulink external mode is one method to tune parameters.
After you create and download a target application to the target PC, you can run the target application. This procedure uses the Simulink model xpc_osc2.mdl as an example. See Building and Downloading the Target Application.
The target PC displays the following message where # is the actual number of tunable parameters in your model:
99999999 seconds, the target application begins running, and the target PC displays the following message:
| Control with MATLAB Commands | Signals and Parameters | ![]() |