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 で Troubleshooting in Simulink Real-Time についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!