Estimating memory footprint of generated code

This tool outputs the code size and data footprint for code generated with Embedded Coder(TM).
1.4K Downloads
Updated 1 Sep 2016

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.

Cite As

Roger Aarenstrup (2024). Estimating memory footprint of generated code (https://www.mathworks.com/matlabcentral/fileexchange/24414-estimating-memory-footprint-of-generated-code), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on MATLAB Coder in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.1

Updated license

1.1.0.0

Updated text

1.0.0.0