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

10 Ansichten (letzte 30 Tage)

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?

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 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.

Weitere Antworten (0)

Kategorien

Mehr zu Multicore Processor Targets finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by