¿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?

Answers (1)

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

Categories

Find more on Simscape Electrical in Help Center and File Exchange

Asked:

on 15 May 2018

Answered:

on 13 Dec 2024

Community Treasure Hunt

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

Start Hunting!