Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
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
Citation pour cette source
Alexander Carmeli (2026). Create a model configured for efficient code generation (https://fr.mathworks.com/matlabcentral/fileexchange/62765-create-a-model-configured-for-efficient-code-generation), MATLAB Central File Exchange. Extrait(e) le .
Catégories
En savoir plus sur Model Configuration Set Customization dans Help Center et MATLAB Answers
Informations générales
- Version 1.0.0.0 (6,76 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.0.0.0 | Copyright |
