Visualize Simscape Component Variables
조회 수: 7 (최근 30일)
이전 댓글 표시
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.

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).

Thanks in advance!
댓글 수: 0
답변 (1개)
Sabin
2025년 12월 24일 9:39
Since R2020a, this can be done using Simscape Probe: https://www.mathworks.com/help/simscape/ref/probe.html
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Composite Components에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!