How to use the DATA Inspector with SimScape model
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (2)
J Chen
le 6 Fév 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 commentaires
Abhishek
le 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 commentaires
Voir également
Catégories
En savoir plus sur Electrical Sensors dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!