Check if file exists and puts answer in a cached persistent variable
result=existFS(FileName)
The answer (true/number) is cached for better performance. In order words, the first time existFS is called the answer is stored in persistent variable named cachedexistFS
example
result =existFS(FileName) Test whether mex file DfM.XXXX exists.
result =existFS(FileName)
result
FileName
expand all
Depending on the operating system a different mex file will be searched.
out=existFS('DfM'); if out == true disp('Mex file exists'); else disp('Mex file does not exist'); end
Example - 'myFile.mex'
Data Types: char
char
result is true if file exists in the MATLAB path.
verLessThan | verLessThanFS
verLessThan
verLessThanFS