Simulink "While Iterator" subsystem development and debugging
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Historically, when I need to embed a Newton-Raphson iteration in Simulink, I develop it as a Matlab function, and then embed it in Simulink as a Matlab Function. In this job for this application, I would really like to use the subject "While Iterator" subsystem and build the system equations graphically. But, I am having a real problem debugging it. For instance, I can't figure out how to see the interim results. Any guiadance or help? Thanks.
1 Kommentar
NTR
am 13 Mär. 2013
It can be done by using temp array where u can store values at end Of each iteration
Akzeptierte Antwort
Guy Rouleau
am 13 Mär. 2013
The dataset logging format allows you to log all the iterations of For and While Iterator subsystems
I think the To Workspace block with Timeseries format also does it, but I am not 100% sure, I would need to verify.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Event Functions finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!