How can I get the voltage and the current of an input signal in a Simulink script ?
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi Community,
I am tring to find a function or a command line to get voltage and current values of an input signal in a Simulink script.
For my example, I am tring to create a three-phase electrical complex block with various equations inside. Therefore, I do not know how to acquire voltage and current values from my inputs in my script.
Do you know how to do it ?
Thank you in advance.
댓글 수: 1
Nicolas Schmit
2018년 4월 17일
Are you using Simulink or Simscape? In Simulink, you can connect the signal to a to workspace block to save the signal in MATLAB's workspace. If you are working with Simscape, use voltage and current sensor blocks to read the voltage and current respectively.
답변 (1개)
Pierre Ambiaux
2018년 4월 17일
댓글 수: 3
Tao Jiang
2019년 8월 6일
Excuse me, so have you solve this problem by script. I also meet this problem.
참고 항목
카테고리
Help Center 및 File Exchange에서 Electrical Sensors에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!