MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [求助]fprint函数怎么没写完? (https://www.labfans.com/bbs/showthread.php?t=3533)

drosophilia 2008-06-10 08:28

[求助]fprint函数怎么没写完?
 
num.txt加载到X,其大小为1*2492
写到num1.txt中为什么大小只有1*2451, 剩下的41个元素去哪了??
代码如下:


X = load('num.txt');
fid=fopen('num1.txt','w');
fprintf(fid,'%d\n',X);


所有时间均为北京时间。现在的时间是 12:42

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