How can I avoid CPU overloads with Simulink Real-Time & Speedgoat when using "loadParamSet"?

10 ビュー (過去 30 日間)

I am experiencing CPU overruns with my Simulink Real-Time (SLRT) target computer when loading a large parameter set file of about 100 MB with "loadParamSet". Do you have any suggestions on how to avoid this?

採用された回答

MathWorks Support Team
MathWorks Support Team 2025 年 5 月 11 日
To prevent CPU overloads when using "loadParamSet", you can try the following:
  1. Change the 'Default parameter behavior' configuration to 'Inlined'.
  2. Manually mark only the parameters you intend to change as tunable, following the "Configure Model to Tune Inlined Parameters" guide: https://www.mathworks.com/help/slrealtime/ug/tune-inlined-parameters-with-simulink-real-time-explorer.html#d126e8485
  3. Verify the tunable parameters using the SLRT Explorer.
  4. Recreate the parameter set for the new application, ensuring the file size is minimized. These steps have proven effective in reducing the parameter set size and eliminating overruns, allowing for real-time loading without issues.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMulticore Processor Targets についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by