Simscape: connecting ports to an scope

조회 수: 4 (최근 30일)
Rodrigo Gastón
Rodrigo Gastón 2019년 6월 4일
답변: Rajanya 2025년 4월 15일
Hello,
Im trying to use the simscape toolbox, Im using the examples, I can connect the brown color wires to an scope (using the PS-Simulink Converter), but I want to connect an scope to the green wires an I cant do it. How can I do that?
Thanks in advance

답변 (1개)

Rajanya
Rajanya 2025년 4월 15일
While the brown lines represent physical signals, the green/blue lines represent connections within mechanical/electrical systems (imagine wires in a circuit). Hence, connecting them directly to a 'Scope' is not valid (since 'Scopes' are made just to visualize Simulink signal data, and not to read any data from a connection).
You can put sensors to read the data values at any point in those lines, and then view the values in 'Scope' after converting the physical output signals from the sensors to Simulink signals by a 'PS-Simulink Converter'.
A sample model is shown below:
Notice the 'Force Sensor' coupled with the 'PS-Simulink Converter' being used to visualize the data value at a particular point.
Thanks!

카테고리

Help CenterFile Exchange에서 Data Logging에 대해 자세히 알아보기

태그

제품


릴리스

R2016b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by