simulink for loop cycle

3 visualizaciones (últimos 30 días)
Alessandro
Alessandro el 13 de Abr. de 2023
Comentada: John D'Errico el 27 de Abr. de 2023
Hello,
I have this situation, for each simulation time-step I have to execute N numerical integration, with N different initial conditions.
I can do it with a matlab function usign ode funciton inside a for loop, but I would like to use the simulink integration block and I am having difficulties in the settings of the for loop for each time step.
May someone help me ?
Many Thanks for your time and help
Kind Regards
  1 comentario
John D'Errico
John D'Errico el 27 de Abr. de 2023
Please don't use a flag to say the question is unclear. I have removed the flag. However, your point is valid. This question is not terribly clear, since all we know is @Alessandro is having difficulties. Lacking any code, we have a difficult time in resolving what difficulties were encountered. And Answers is not just a general consulting service, where someone will attempt to train @Alessandro in depth. That would be impossible., and turn one question into a lengthy back and forth affair.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Simulink 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!

Translated by