Matlab/Simulink模型到C/C++代码的自动实现  被引量:18

Automatic Realization from Matlab/Simulink Models to C/C++ Code

在线阅读下载全文

作  者:张祥[1] 杨志刚[1] 张彦生[1] 

机构地区:[1]重庆交通大学机电与汽车工程学院,重庆400074

出  处:《重庆工学院学报》2006年第11期111-113,共3页Journal of Chongqing Institute of Technology

摘  要:介绍了如何利用Matlab/Simulink的RTW(Real_Time Workshop)代码生成工具将Simulink模型自动转换成C/C++代码的方法,通过这种方式可以利用Simulink方便地建立系统模型,同时也解决了Simlink模型在Matlab/Simulink环境下速度较慢的问题,大大减少了软件工程师的编程工作量.转换后的C代码能脱离Matlab环境独立运行,这进一步扩大用该方法生成的C代码的适用范围.This paper proposes a method of using the RTW (Real-Time Workshop) code generation tool to convert Maflab/Simulink to the C/C + + code. Accordingly the system' s model is constructed conveniently by using simulink. This can not only avoid the problem of low simulation speed of the model in matlab/ Simulink circumstance, but also deduce the workload of the programming engineer. In addition, the converted C code can nm independently out of Matlab circumstance, which expands the use domain of the converted C code by this method.

关 键 词:MATLAB/SIMULINK RTW代码生成工具 C/C++代码 

分 类 号:TP311.11[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象