Simulink with Simulink Real-Time Blocks

An alternative to interactively adding scopes to the target computer is to add Simulink® Real-Time™ Scope blocks to your Simulink model. After the download process, these blocks create scopes on the target computer during initialization of the real-time application. You can display data on either the development computer or target computer. You can also save signal data (log real-time data stream) to a file in the target computer file system and transfer that file to another computer. Finally, you can use To and From blocks to transfer data to and from a Simulink user interface model.

Signal acquisition — Add scopes to the target computer by adding Simulink Real-Time Scope blocks to your Simulink model. In the Block Parameters dialog box, select the scope mode and set the trigger.

For information on acquiring signal data with Scope blocks, see:

For information on using Simulink Real-Time To and From blocks to transfer data to and from a Simulink user interface model, see Simulink Real-Time Interface Blocks to Simulink Models.