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

10 vues (au cours des 30 derniers jours)

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?

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 11 Mai 2025
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.

Plus de réponses (0)

Catégories

En savoir plus sur Multicore Processor Targets dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by