Use an array as input and output in Simulink
32 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Yûma-Samuel Kaiser
el 5 de En. de 2022
Respondida: Paul
el 5 de En. de 2022
Hey there,
I am using a MATLAB Function block in Simulink. The goal is to have an array as an input as well as output. The output is the input in the next time-step. To realize this, I would usually use an unit delay with an initial condition but this does not work with arrays (as far as I know).
Is there a way to give the input array an initial value and use the outputs of the following time-steps as new inputs?
Thank you!
0 comentarios
Respuesta aceptada
Paul
el 5 de En. de 2022
The unit delay block can handle arrays. Did you try it and run into an error?
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Simulink Functions en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!