More efficient equivalent to while looping block in Simulink
3 views (last 30 days)
so I have a model in Simulink, which utilizes while iterator loop to meet a condition for each timestep. It was done in a manner of adding constant (0.01) to a constant (1.5) during each iteration until condition is met.
While the model work fine, the time of simulation seems to be way too long. Is there any equivalent or another way to "find-a-value"/iterate which would accelerate the process?
Thanks in advance!