Why does adding a Persistent Variable Read or Persistent Variable Write block to my model significantly increase its TET in Simulink Real-Time?
Mostrar comentarios más antiguos
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?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Troubleshooting in Simulink Real-Time en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!