Initializing discrete states with Matlab functions
显示 更早的评论
I have the following hypothetical system:

The discrete delay element uses input port to initialize its state when enabled. When I check the system steps in debug mode I realized that simulink continue to execute/output "matlab function" even after the delay element is initialized properly. Therefore simulink simply wastes computational power for no reason during simulation phase.
Is there a way to disable the matlab function block after the discrete delay is initialized?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Array and Matrix Mathematics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!