Connecting Simscape Diagrams to Simulink Sources and Scopes
Simscape™ block diagrams use physical signals instead of regular Simulink® signals. Therefore, you need converter blocks to connect Simscape diagrams to Simulink sources and scopes.
Use the Simulink-PS Converter block to connect Simulink sources or other Simulink blocks to the inputs of a Simscape physical network. You can also use it to specify the input signal units. For more information, see the Simulink-PS Converter block reference page.
Use the PS-Simulink Converter block to connect outputs of a Simscape physical network to Simulink scopes or other Simulink blocks. You can also use it to specify the desired output signal units. For more information, see the PS-Simulink Converter block reference page.
For a detailed example of using converter blocks to connect Simscape diagrams to Simulink sources and scopes, see Creating and Simulating a Simple Model.
You can also use data logging, instead of sensors and scopes, to view and analyze simulation results. For a detailed example, see Log, Navigate, and Plot Simulation Data.
Another way to access variables during simulation is to use a Probe block. Adding this block to your model lets you select variables from another block in the model and output them as Simulink signals.