MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   哪位大侠帮我看看程序的问题? (https://www.labfans.com/bbs/showthread.php?t=6443)

jingwang_19 2009-02-18 16:06

哪位大侠帮我看看程序的问题?
 
clear all
str=date
year0=year(str)
month0=month(str)
day0=day(str)
year0
month0
day0
if month0<10
month1=[0,month0]
else month1=month0
end
filename=[year0,month1,day0]
fileaname1=num2str(filename)
fid=fopen('E:\王晶\jwang\muon\nagoya\ns\filename1.txt','r')m=fscanf(fid,'%f')
m
fclose(fid)
c=cwt(m,1:64,'haar','plot')
save E:\wangjing\jwang\muon\nagoya\wavelet\c -ascii

假设今天是2月18日,我是想读取名字为20090218.txt 的数据文件, 读不出来,问题出在哪里呢?
请高手指导


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

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