To log signal values and times, add a real-time file scope with MATLAB®. A file scope creates a file on the target computer that you can download to the development computer for offline analysis.
|Create a scope of specified type|
|Return scope identified by scope number|
|Remove scope from target computer|
|Add signals to file scope represented by scope object|
|Remove signals from file scope represented by scope object|
|Start execution of file scope on target computer|
|Stop execution of file scope on target computer|
|Software-trigger start of data acquisition for file scope|
|Read real-time Scope file format data|
|Generate file for use by real-time From File block|
Acquire signal data while running a real-time application and transfer the data to the development computer for analysis.
Access the target computer file system with the
Calculate the buffer size that is required for signal logging.
Learn about usage issues that are common to all Simulink® Real-Time™ Scope types.
Learn about usage issues that are unique to file scopes.
Learn about configuring scopes so that they wait until triggered to acquire data.
Learn about configuring scopes so that they acquire data before or after the trigger event.
Learn about configuring scopes so that they acquire data in response to the triggering of another scope.
Log signal data by using an Outport block and Simulink Real-Time specific logging functions.
Prepare to log data to a file on the target computer.
Acquire data that two scopes acquire consecutively, with minimal overlap or gaps.
Use the MATLAB Command Window to change properties and control the target computer and your real-time application.
Use the Command Window to change properties and control signal logging and signal tracing.
Read, write, copy, and delete files on the target computer file system from the Command Window.
Troubleshoot problems that you encounter while using the Simulink Real-Time product.