replace deprecated Matlab function isstr with ischar

time-shift
Houtan Bastani 2010-09-26 12:52:51 +02:00
parent 34b28b8043
commit 47ca9b628d
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ dispIndx = 0; % 1: turn on all the diplays on the screen; 0: turn off (Added b
[nx,no]=size(x0);
nx=max(nx,no);
NumGrad= ( ~isstr(grad) | length(grad)==0);
NumGrad= ( ~ischar(grad) | length(grad)==0);
done=0;
itct=0;
fcount=0;