How do I analyse the needed amount of dynamic memory for a Simulink Model?
16 次查看(过去 30 天)
显示 更早的评论
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 个评论
Anand Ganesan
2023-10-19
编辑:Anand Ganesan
2023-10-19
Hi Philipp, I've exactly the same need as you. Did you manage to find a work around?
回答(1 个)
Piyush
2023-5-16
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!