Why does adding a Persistent Variable Read or Persistent Variable Write block to my model significantly increase its TET in Simulink Real-Time?
显示 更早的评论
I would like to use persistent variables with my Speedgoat real-time machine by using the "Persistent Variable Read" and "Persistent Variable Write" blocks. My application uses hundreds of these blocks, as I need to store hundreds of variables. When using these blocks, I can see that the task execution time (TET) value is highly increased, even causing overruns in some situations. I expected that these blocks should execute only at initialization and termination. Is this not the case?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Target Computer Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!