Using vectors as input in simscape interface
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Electrical Sensors en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!