help,MATLAB,feval

来源:百度知道 编辑:UC知道 时间:2024/05/22 02:51:25
if ~exist(filename.mat','file')
feval('filename2.mat',1);
end

what does it mean and how to create filename2.mat???
my computer does not install Chinese but i can read it,thanks!
last question:

if i change 1 to 2(3,4..),what's the difference?

I am still a little confused about usage of "feval".

what is the difference between it and
"load filename.mat" ?

thank you!

意思是
if filename.mat 这个file不存在,
调用 filename2.mat,并且返回1个output.
How to creat depends on 你想要什么样的文件了。是变量的话直接
save filename2.mat 变量名