How to log Current for a simulink model ?

I have a circuit which is a DC source and some resistors. I want to log current through each resistor. I read that i can right click a line and select add signal to be recorded. If i right click a resistor then Signal&ports submenu is grayed out If i select to log data to Simulation Data inspector then all values for a resistor are logged +power voltage , etc ...I want only currents .... Please help

댓글 수: 1

Swarooph
Swarooph 2016년 8월 1일
Are you sure you are using Simulink blocks and not Simscape? A screenshot of your model might help.

댓글을 달려면 로그인하십시오.

답변 (1개)

Sabin
Sabin 2025년 8월 12일

0 개 추천

The right click approach you mentioned for logging data is only working for Simulink signals. However, I assume you are using a Simscape model. In this case you can use sensors and PS-Simulink Converters to obtain a Simulink model that you can then log as described. Alternatively, you can use Simscape data logging.

카테고리

도움말 센터File Exchange에서 Data Logging에 대해 자세히 알아보기

제품

태그

질문:

2016년 7월 31일

답변:

2025년 8월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by