Reducing memory footprint of Lookup tables in your design

Optimize Lookup tables to reduce memory
69.0 次下载
更新时间 2019/3/27

查看许可证

In Simulink, you can design control models for your automotive applications including powertrain systems. One key aspect of the powertrain system design is the use of Lookup tables that are also used for calibrating the system for specific requirements such as emissions or fuel consumption etc. In some cases the lookup tables can constitute a large part of your design.

The Lookup Table Optimization in Fixed-Point Designer
• optimizes the spacing of the breakpoints and the data types of the table data to reduce the memory used by a lookup table.
• Using this feature, you can:
o Optimize an existing Lookup Table block.
o Generate a lookup table from a Math Function block.
o Generate a lookup table from a function or function handle.

The download contains the script you can use to programmatically reduce the memory footprint of all the lookup tables in your Simulink model. The script also provides a tradeoff analysis of the memory reduction vs. the tolerances for the output signal of the lookup tables.

Please refer to the following documentation link to learn more about this feature:
Lookup Table optimization: https://www.mathworks.com/help/fixedpoint/ug/optimize-lookup-tables-for-memory-efficiency.html

Link to the video:
https://www.youtube.com/watch?v=Qkxr_yfmaG8&t=25s

引用格式

MathWorks Fixed Point Team (2024). Reducing memory footprint of Lookup tables in your design (https://www.mathworks.com/matlabcentral/fileexchange/70537-reducing-memory-footprint-of-lookup-tables-in-your-design), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2018b
与 R2018b 及更高版本兼容
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.1

Minor update - added helper function

1.0.0