Why does adding a Persistent Variable Read or Persistent Variable Write block to my model significantly increase its TET in Simulink Real-Time?
Show older comments
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?
Accepted Answer
More Answers (0)
Categories
Find more on Troubleshooting in Simulink Real-Time in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!