File Exchange

image thumbnail

Estimating memory footprint of generated code

version (3.36 KB) by

This tool outputs the code size and data footprint for code generated with Embedded Coder(TM).

1 Download


View License

When generating code and experimenting with different modeling patterns it is sometimes useful to check the memory footprint of the code generated from a model. This tool is executed after the generated code is built and outputs the memory used for code and data in each object file.
This tool can be used to improve your understanding of what affects code size. Different target/optimization settings can be tested as well as different modeling patterns.
You can create your own target and use the included hook file in it or copy the lines in the 'after make' section to your current ert hook file. Make sure the other two m-functions are on your MATLAB(R) path.

Comments and Ratings (1)

Shaohui Wang

it's amazing,but how to use it~~~~


Updated license


Updated text

MATLAB Release
MATLAB 7.8 (R2009a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video