Simulink change vector data over time

I need to give my model a vector data changing over time.
Trying to use signal blocks, they seem to need variables but not vectors.
Is there any way to solve the problem?

 Respuesta aceptada

Ameer Hamza
Ameer Hamza el 7 de Oct. de 2020

0 votos

You can also use MATLAB function block and write the code to generate the signals: https://www.mathworks.com/help/simulink/slref/matlabfunction.html. To get information about time inside the function block, use clock https://www.mathworks.com/help/simulink/slref/clock.html.

Más respuestas (0)

Preguntada:

el 7 de Oct. de 2020

Respondida:

el 7 de Oct. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by