Using vectors as input in simscape interface
Show older comments
Hello everybody,
I have the following problem. A sine wave as an input to a gain circuit. The gain is set to 2, so as a response in the scope block should be double of the input signal.

My question here is, is there a way to input a vector into the simscape interface?
something like,
set_param('Simplified_vector/Sine', 'Amplitude', [1; 2; 3] );
and get the output in the scope as 3 curves multiplied by 2.
Accepted Answer
More Answers (0)
Categories
Find more on Electrical Sensors in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!