MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   【求助】.dat文件如何在simulink中导入? (https://www.labfans.com/bbs/showthread.php?t=1689)

chener1980 2008-03-15 19:22

【求助】.dat文件如何在simulink中导入?
 
请问是否可以用Triggered read from file这个模块导入.dat文件?这个模块在什么位置?是否还有其它导入.dat文件的方法?谢谢!:redface:

windy0923 2008-04-24 21:18

我记得曾经用过m-file编的程序打开.dat文件来读数据,用到了fopen等函数

niuchuan 2008-04-25 22:22

用 S-function 直接 C语言编写 C导入。dat文件比较方便 fopen fread fwrite

cingular 2008-04-28 17:56

写个模块,load一下就行了吧

pra 2008-05-06 23:05

用C写个程序转成mat文件,在工作区中load到一个变量中


所有时间均为北京时间。现在的时间是 11:08

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.