Creation and Execution of Real-Time Application with MATLAB
To run your real-time application in a repeatable manner, build, download, configure, and run your real-time application with MATLAB® language. You can:
Perform runs interactively or initiate automated runs and test sequences.
Tune parameters during, before, or after a run.
Instrument (configure-for-streaming-from-application), view, and log signals on the development computer or target computer.
Manage Target Computer
|Add instrument object to target object|
|Add a parameter set to a real-time application|
|Read value of observable parameter in real-time application|
|Read a signal value from a real-time application|
|List available parameter set files for application|
|Deploy to target and load real-time application to target computer|
|Restore parameter values saved in specified file|
|Save real-time application parameter values|
|Configure stop time for real-time application|
|Change value of tunable parameter in real-time application|
|Build standalone executable file or model reference target for model|
|Start execution of real-time application on target computer|
|Get status of real-time application on target computer|
|Stop execution of real-time application on target computer|
|Replace external input data in real-time application with input data|
|Update the startup parameter set for an application|
|Delete file log data from target computer|
|Get information about available file logs of signal data|
|Import file log data from target computer|
|Start file logging of signal data|
|Stop file logging of signal data|
|Import file logs copied from target computer into Simulation Data Inspector|
|List available file logs copied from target computer|
|Delete execution profiler data from target computer|
|Get information about available execution profiler data|
|Retrieve profile data object|
|Reset profiling service state to |
|Start profiling service on target computer|
|Stop profiling service on target computer|
|Find instrumented signals and add these to real-time instrument object|
|Add signal for streaming to be available in callback|
|Clear data from children of real-time instrument object|
|Add callback that responds to new data|
|Connect signal for streaming to axes|
|Add signal for streaming to scalar display|
|Delete real-time instrument object|
|Generate script that creates scalar and axes controls from signals, scalars, and lines in real-time instrument object|
|Get callback data for a signal in real-time instrument object|
|Removed callback from real-time instrument object|
|Remove instrument objects from target object|
|Remove selected instrument object from target object|
|Remove signal from real-time instrument object|
|Validate signals in instrument object|
Application Preparation and Execution
Run a Simulink® model from the Command Window.
Map root inports to source data.
This example shows how to stimulate the root inports in a real-time application that is running on a target computer.
Build a real-time application in the Command Window and download it to the target computer.
Start, stop, and view the real-time application from the Command Window.
Troubleshoot problems that you encounter while using the Simulink Real-Time™ product