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