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.

ccs->file I/O



我用matlab把一幅图片制作成.dat文件,想用file I/O把图像数据导入到程序的数组中,图像小(80*80)的时候可以;但图像大了就不可以,其中在.dat文件导入时提示导入的.dat文件的Length在1..7000之间,我想问问这个长度可以更改吗?如果可以在CCS中怎么设置。谢谢!!

  • weiwei你好,

    请问你是用的CCS什么版本,在CCS4/5中可以有load/store memory进行数据存取,或者在代码中直接将数据文件#include即可。

  • Hi,Andy:

    请问代码是直接include 数据文件是什么意思?当我设置好了数据文件头和内容以后,include进来,编译器在编译的时候就会把对应内存写上数据文件的内容吗?另外,dat文件头中页类型是什么意思,应该怎么设置?谢谢

                                                                                                                                                                                                           David