Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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?

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by