How to check memory occupancy of a Simulink Model?

3 visualizaciones (últimos 30 días)
Matteo Manzini
Matteo Manzini el 25 de Mzo. de 2020
Respondida: Fangjun Jiang el 25 de Mzo. de 2020
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!!!
  2 comentarios
Matteo Manzini
Matteo Manzini el 25 de Mzo. de 2020
I then want to generate code to use it on a controller.

Iniciar sesión para comentar.

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 25 de Mzo. de 2020
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.

Más respuestas (0)

Categorías

Más información sobre Computer Vision with Simulink en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by