Simulink "While Iterator" subsystem development and debugging
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Guy Rouleau
2013-3-13
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Event Functions 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!