Visualize Simscape Component Variables
1 view (last 30 days)
Show older comments
Hello! I have recently started creating my own Simscape Components. In order to verify the correct operation of my simscape codes I need to visualize some internal variables. I can easily see them by associating an output port to each of these variables.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/170335/image.png)
However, I would like to know if there is any alternative to see some of these variables without creating an specific output port for each of them (let's say 6 output ports for variables P, PCond, ESwOff, PSwOn, ESwOff, PSwOff in the figure above), generating some kind of global variables (see figure below).
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/170337/image.png)
Thanks in advance!
0 Comments
Answers (0)
See Also
Categories
Find more on Composite Components in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!