EDA365电子论坛网
标题:
matlab 怎样判断文件是否已经存在???
[打印本页]
作者:
adogpp
时间:
2021-6-28 09:53
标题:
matlab 怎样判断文件是否已经存在???
matlab 怎样判断文件是否已经存在???
; `: O# J, B" K" i' r
作者:
NingW
时间:
2021-6-28 11:22
查找一下
作者:
uperrua
时间:
2021-6-28 13:34
3 q6 L+ {4 M1 g F
用exist(filename,'file')函数,如下:
% I" x- Y5 D) z
. w$ Y# K9 g% y& S, y7 D# N
>> exist('ce.JPG','file')
ans =
0
>> exist('rice.png','file')
ans =
2
6 ~: ^2 J# p' r! W& U0 K
作者:
younicp
时间:
2021-6-28 13:35
exist(filename,'file')
欢迎光临 EDA365电子论坛网 (https://bbs.eda365.com/)
Powered by Discuz! X3.2