Using vectors as input in simscape interface
显示 更早的评论
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.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Electrical Sensors 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!