请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
工具/软件:Code Composer Studio
我创建的Simulink模型仅包含输入,单位延迟和输出模型,当我为CCS模拟器构建模型时,不会创建".out"文件。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:Code Composer Studio
我创建的Simulink模型仅包含输入,单位延迟和输出模型,当我为CCS模拟器构建模型时,不会创建".out"文件。
我直接将该C/C++代码导入到我自己创建的CCS项目中...
然后出现错误。
/*
文件:Soumya1.c
*
为Simulink模型'Soumya1'生成的代码。
*
**型号版本 :1.3
* Simulink编码器版本 :8.8 (R2015a) 2015年2月9日
* C/C++源代码生成时间:2017年5月18日12:57:19日
*
目标选择:idelink_ERT.tlc
*嵌入式硬件选择:德州仪器(TI)->C6000
*代码生成目标:未指定
*验证结果:未运行
*/
#include "Soumya1.h"
#include "Soumyrt_real_model.t_m_
rt_model_Soumya1_T *const Soumya1_M =&Soumya1_M_;
/* Model step函数*/
void Soumya1_step (void)
{/*
S-function (c6713dsk_led):'<root>/LED'*/
*(volatile uint8_T *)(Soumy8万)=(Summy_status/ status_status*
空
=状态/NOST_POST_NOST_POST_POST_NOST_POST1*
/*模型终止函数*/
void Soumya1_terminate(void)
{/*
(不需要终止代码)*/
}/*
生成的代码的文件尾部。
*
**[EOF]
*/