MatrixBerryCore
isfile.m
Go to the documentation of this file.
1 function isPositive=isfile(fileName,isJavaBased)
2 if nargin<2
3  isJavaBased=true;
4 end
5 if isJavaBased
6  isPositive=mxberry.io.FileUtils.isFile(fileName);
7 else
8  isPositive=exist(fileName,'file')==2;
9 end
function isfile(in fileName, in isJavaBased)
ISFILE returns true if a specified name corresponds to an existing file.