¿Can I use a 'goto' block for parameterizing electrical sources?

I am using an 'AC current source' block but as my angle and magnitude may vary with time, they should be variables that can be defined previously on workspace. However, I need them to come from another section of simulink (while running the simulation). I tried using the 'goto' block to assign the variables from that other section but is not working in the 'AC current source' block, even if I turn the 'goto' block to global variable. ¿Any ideas?¿How can I parameterize a block with the output from another block?

Antworten (1)

Sabin
Sabin am 13 Dez. 2024

0 Stimmen

You can use a Controlled Current Source instead and input the current waveform that would be time variable.

Kategorien

Mehr zu Simscape Electrical finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 15 Mai 2018

Beantwortet:

am 13 Dez. 2024

Community Treasure Hunt

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

Start Hunting!

Translated by