How to check memory occupancy of a Simulink Model?

5 次查看(过去 30 天)
Hello,
I designed a Simulink model in two different ways. After converting from floating-point to fixed-point by means of the fixed-point tool I saw there is not much difference. Therefore, I want to use the block which uses the least memory.
How can I check the memory occupancy of a model or better of a single Simulink block?
Thanks in advance for any reply!!!

采纳的回答

Fangjun Jiang
Fangjun Jiang 2020-3-25
No such capability as of R2019b. We've submitted similar requests to the Mathworks.
There are something that might be helpful. Set code generation objectives to be RAM efficiency, ROM efficiency or Execution effeciency. Enable static code metrics report.
More realistic approach is to generate code first and then use your C compiler to get the relevant (but not exact) info.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Additional Math and Discrete 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by