查看单个帖子
旧 2013-08-30, 00:32   #2
kaituozhe528
初级会员
 
注册日期: 2013-03-09
年龄: 33
帖子: 1
声望力: 0
kaituozhe528 正向着好的方向发展
默认 回复: matlab的exist命令在循环语句中的问题

I think you should add the file extension. Your file path is not complete so the file can not be found, as a result, the returned value is 0 not 2 expected.
kaituozhe528 当前离线   回复时引用此帖