Can I know the amount of memory allocated dynamically by generated code?
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
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!