Why do I keep getting an error saying I'm using 121.1% of program memory when using "Monitor & Tune" in Simulink?

3 visualizzazioni (ultimi 30 giorni)
Whenever I try to do basic simulations using the Arduino Support Package for Simulink I always get the same error with the same exact values for program memory. But when I use the Build, Deploy & Start function it works just fine. It also says I'm only using 48.6% of data memory which makes sense to me because I have 16 GB of RAM on my computer. I should note I'm on the student version of Simulink but all my classmates whose computers aren't as strong as mine can do the simulations just fine.

Risposte (1)

VINAYAK LUHA
VINAYAK LUHA il 28 Nov 2023
Modificato: VINAYAK LUHA il 28 Nov 2023
Hi Ryan,
I understand that you are encountering an issue with the Arduino Support Package for Simulink.
Here are a few steps you can take to troubleshoot and potentially resolve the issue:
  1. Ensure that the simulation settings in Simulink are configured correctly. Check the solver settings, simulation time, and other parameters to make sure they align with the requirements of your model and the Arduino hardware.
  2. Verify that the hardware configuration for the Arduino board is set up properly within the Arduino Support Package. Check the board type, communication settings, and other relevant configurations to ensure they match your specific Arduino hardware.
  3. Make sure you have the latest version of the Arduino Support Package installed. Updates can often address compatibility issues and improve overall performance.
  4. Ensure that your MATLAB version is compatible with the Arduino Support Package. Sometimes, certain versions of MATLAB may have specific requirements for hardware support packages..
By going through these steps and potentially adjusting settings and updating packages you can work towards resolving the error you are encountering with the Arduino Support Package for Simulink.
Hope this resolves your query.
Regards,
Vinayak Luha

Categorie

Scopri di più su Arduino Hardware in Help Center e File Exchange

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by