Skip to content

Commit 7e895d3

Browse files
committed
isfile --> exist to support matlab before 2017b
1 parent 90d219c commit 7e895d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pop_validatebids.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function pop_validatebids(varargin)
2222
if ismac || isunix
2323
system(['chmod u+x ' filepath]);
2424
end
25-
if ~isfile(filepath)
25+
if ~exist(filepath,'file')
2626
supergui('geomhoriz', {[1] [1] [1]}, 'geomvert', [1 1 1], 'uilist', {{'Style','text','string','No validator found. Abort'},...
2727
{}, ...
2828
{ 'Style', 'pushbutton', 'string', 'Ok' 'callback' 'close(gcf)' }}, 'title','Error -- pop_validatebids()');

0 commit comments

Comments
 (0)