How do I analyse the needed amount of dynamic memory for a Simulink Model?
17 views (last 30 days)
Show older comments
I'm working on a project for which I want to analyse the amount of dynamic memory a Simulink Model would need on a processor (Matlab R2021b).
I already found some nice analysis functions for static memory and run time inside the embedded coder toolbox, but sadly there are no information about dynamic memory analysis.
After I spent quite some time searching through the internet for a solution, I still couldn't find any function for this.
Does anyone know a way how dynamic memory usage can be analysed?
Thanks in advance!
1 Comment
Anand Ganesan
on 19 Oct 2023
Edited: Anand Ganesan
on 19 Oct 2023
Hi Philipp, I've exactly the same need as you. Did you manage to find a work around?
Answers (1)
Piyush
on 16 May 2023
Try the following ways to analyse the dynamic memory requirements-
- Run the Simulink model and type the command “memory” in MATLAB command window.
- Use Task manager in window. Run the simulation and check the amount of memory used by it in the Task Manager.
See Also
Categories
Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!