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

22 visualizaciones (últimos 30 días)

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?

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 11 de Mayo de 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.

Más respuestas (0)

Categorías

Más información sobre Multicore Processor Targets en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by