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!