How to change load(resistance) while simulation is running

조회 수: 24 (최근 30일)
Alper
Alper 2018년 12월 23일
답변: Alper 2018년 12월 26일
Greetings,
I intend to change the load such as change output R value from x to 2x. However, I should do this while simulation is running in full swing. The question is, how can I change resistance value at the load from x to 2x while simulation is running?
Thank you in advance.
Alper

채택된 답변

Aquatris
Aquatris 2018년 12월 26일
The easiest way is to use the switch block. You can either use simulation time to determine when to switch or define some conditions (i.e., current goes above 0.3 A).
  댓글 수: 4
Alper
Alper 2018년 12월 26일
Thank you. I understand that now. One more question; Is there any way to do it with simspace components?
Aquatris
Aquatris 2018년 12월 26일
I am not familiar with simspace so I cannot be of help for that.

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

추가 답변 (1개)

Alper
Alper 2018년 12월 26일
Okay. It works for me. Thank you very much for your help.

카테고리

Help CenterFile Exchange에서 Signal Attributes and Indexing에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by