Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
Ion Iturbe
Ion Iturbe le 2 Juil 2014
Clôturé : MATLAB Answer Bot le 20 Août 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?

Réponses (0)

Cette question est clôturée.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by