How to use the DATA Inspector with SimScape model
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'd like to use data inspector with SimScape model. How to assing (highlight) signal to be displayed in Data Inspector - "Log SIgnal"? I have attached the snippet of my SimScape Electrical Simulation - it's a pure SimScape with no classical simulink blocks.

0 Kommentare
Antworten (2)
J Chen
am 6 Feb. 2023
You need to use Sensors and Transducers block to measure the variables, then convert the Simscape signals to the Simulink signals using "PS-Simulink Converter" block in the Utilities category.
0 Kommentare
Abhishek
am 28 Mai 2025
I understand you want to log specific signals from a Simscape model and visualize them in the Data Inspector. This can be achieved using the "Selective Logging" feature by following the below steps (reproduced in MATLAB R2024b):
- Navigate to the "Modeling" tab and click on "Model Data Editor".
- In the "Simscape Variables" tab of the Model Data Editor, check the "Log Data" option for each variable of the Simscape blocks whose signals needs to be logged. When logging is enabled for a block, a logging badge will appear on it.
- Run the simulation. The selected signals will be available for review in the "Data Inspector".
Please refer to the MATLAB documentation on “Selective Logging” to know more about it:
0 Kommentare
Siehe auch
Kategorien
Mehr zu Electrical Sensors finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!