Prerequisites for Logging Signals
Before starting to log signals:
Connect the target hardware to a computer.
Create or open a Simulink® model. To log signals, the model must have at least one of these blocks.
Block Name Block Icon To Workspace block 
Scope block 
Outport block 