基于自动代码生成机制的嵌入式系统软件开发
utomatic code generation mechanism-based embedded systems software development
随着自动代码生成技术的发展,基于技术文件规范的传统嵌入式软件开发模式逐渐被基于模型的设计方法所取代,后者实现了高效的代码自动生成和方便的系统维护。为了建立用户自己的设备驱动模块和高效的从模型生成代码,在讲解MATLAB/RTW原理、使用流程和参数配置的基础上,结合实例着重研究编写模型s-function和TLC文件。从基于模型开发的原理和嵌入式开发特点两方面着手,把模型建立和代码生成这两方面紧密结合起来,做到有的放矢、可控的生成代码和提升开发效率。该思想可以借鉴到其它不同模块的驱动和代码生成文件编写,对编写需要自动代码生成模块具有指导作用。
With the development of automatic code generation technology, technology-file-based embedded software development model is gradually being replaced by model-based design methods, which implements the efficient automatic code generation and convenient systems maintenance. In order to establish the user's own device driver modules, and efficiently generate code from the model ,on the basis of a brief introduction of the MATLAB/RTW's using process and parameter configuration, the paper focuses on the preparation of the model S-Function and TLC file with examples. Proceed from the principle of the model-based development and the characteristics of embedded system development, closely integrate these two aspects together, targeted to generate optimal code and enhance the development efficiency. The idea of this paper has a role in guiding the preparation of the automatic code generation, can draw on to write other modules' drive and the code generation file
殷涛、李兰春、魏晋宏
自动化技术、自动化技术设备计算技术、计算机技术电子技术应用
MATLAB/RTW代码生成LCS-FUNCTION嵌入式
MATLAB/RTMcode generationTLCS-FUNCTIONembedded
殷涛,李兰春,魏晋宏.基于自动代码生成机制的嵌入式系统软件开发[EB/OL].(2012-02-27)[2025-08-11].http://www.paper.edu.cn/releasepaper/content/201202-1039.点此复制
评论