Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Can I know the amount of memory allocated dynamically by generated code?

1 visualización (últimos 30 días)
Ion Iturbe
Ion Iturbe el 2 de Jul. de 2014
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
I'm generating C code from Matlab Functions, using Matlab Coder and Embedded Coder. The function is taking two vectors as input, and is performing a model fitting process. During the fitting process, intermediate variable size vectors are generated, and generated code uses dynamic memory allocation. I would like to know if its possible to know the amount of memory been allocated, depending, for example, on the size of the input vector.
If it is possible, can you give some guidelines on how to do it?

Respuestas (0)

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by