How to change load(resistance) while simulation is running

10 visualizaciones (últimos 30 días)
Alper
Alper el 23 de Dic. de 2018
Respondida: Alper el 26 de Dic. de 2018
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

Respuesta aceptada

Aquatris
Aquatris el 26 de Dic. de 2018
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 comentarios
Alper
Alper el 26 de Dic. de 2018
Thank you. I understand that now. One more question; Is there any way to do it with simspace components?
Aquatris
Aquatris el 26 de Dic. de 2018
I am not familiar with simspace so I cannot be of help for that.

Iniciar sesión para comentar.

Más respuestas (1)

Alper
Alper el 26 de Dic. de 2018
Okay. It works for me. Thank you very much for your help.

Categorías

Más información sobre Multicore Processor Targets en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by