Create a model configured for efficient code generation

Create a new model and apply configurations that support small, fast, and readable generated code.
56.0 次下载
更新时间 2018/1/31

查看许可证

How to start a new Simulink model intended for efficient code generation?
This MATLAB script creates such a model and explains some of the various considerations behind the different configuration items.
It contains general model configurations for efficiency, floating-point and fixed-point settings that support high performance code (and sometimes readable code), and general optimizations.
Reviewing the suggested parameters can go a long way towards getting Coders to generate the desired code. That said, the file does not try to cover all possible parameter, and the specific parameter values that best accomplish a goal depend on the goal of the model author.

Some of the settings require a specific license (e.g. Embedded Coder, Fixed Point Designer...). The model author should review and use the settings that apply to his orher case.

It is highly recommended to:
- Review the documentation’s suggestions on which parameter values best support goals such as high performance, safety, etc.
- Run Model Advisor and other advisors in Simulink, especially after the model is populated with blocks.

Keywords: embedded efficient fixed point code generation performance memory size

引用格式

Alexander Carmeli (2024). Create a model configured for efficient code generation (https://www.mathworks.com/matlabcentral/fileexchange/62765-create-a-model-configured-for-efficient-code-generation), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2015b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Model Configuration Set Customization 的更多信息
标签 添加标签

Community Treasure Hunt

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

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

Copyright