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.

matlab生成的dat文件初始化到数组当中,出现的问题

Other Parts Discussed in Thread: TMS320C6672

#pragma DATA_SECTION(echo_test,".MSMC");
#pragma DATA_ALIGN(echo_test, 8);
float echo_test[SAMPLE_NUM*2+64/2+1024*2/2]={
#include "test10.dat"
};

这是程序。

错误如下所示:

"..\src\test10.dat", line 5: error #68: expected a "}"
"../src/main.c", line 37: warning #12-D: parsing restarts here after previous syntax error

麻烦大家看看,是什么问题

使用的是TMS320C6672