To log signal values and times, mark signals for logging with the Simulation Data Inspector or add a File Log to your model.
A File Log block collects signal data on the target computer that is sent to the development computer after each simulation run. Or, if the target computer is not connected to the development computer, you can upload the data to the development computer when you connect to the target computer.
Target | Represent real-time application and target computer status |
Target.FileLog | Target Computer file logger |
Instrument | Create real-time instrument object |
Acquire signal data while running a real-time application and transfer the data to the development computer for analysis.
Target and Application Objects
Use the MATLAB® Command Window to change properties and control the target computer and your real-time application.
Instrumentation Apps for Real-Time Applications
Interface with your real-time application by using instrument panel apps.
Troubleshoot Signals Not Accessible by Name
Investigate issues for some signal types prevent monitoring, tracing, or logging.
Learn about Simulink® Real-Time™ support for internationalization.
Troubleshooting in Simulink Real-Time
Troubleshoot problems that you encounter while using the Simulink Real-Time product