Simulink For Each Subsystem Block Issues

3 visualizaciones (últimos 30 días)
Mark Ekblad
Mark Ekblad el 19 de En. de 2017
Comentada: Mark Ekblad el 19 de En. de 2017
I have a 12x12 matrix that I need to process each row the same way. I would like to use the For Each Subsystem block but cannot figure out how to dimension things properly on the For Each block. I want to process each row, then move onto the next row, etc. and then store the output for each computation in a unique element of a vector.

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 19 de En. de 2017
See screen capture and the attached model.
  2 comentarios
Mark Ekblad
Mark Ekblad el 19 de En. de 2017
Thanks, this does solve my issue but I was trying to use the For Each Subsystem block, but this works!
Mark Ekblad
Mark Ekblad el 19 de En. de 2017
How can I debug since at one time step the iterator runs too fast to see intermediate results?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Subsystems en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by