In line number 45 of file 'autoclust_optimize.m' which contains below code
[~,candidatepatches]=ismember(mydetrs,prevdets(:,6),'R2012a');
I am getting an Error:
MATLAB:ISMEMBER:UnknownFlag
I am using the Matlab version number R2009b. So the flag 'R2012a' is unknown. If I try to remove the flag or use the 'legacy' option, I get the error as 'classperbatch wrong' at line number 47.
What would be the alternate line of code to make it work on R2009b.
Thanks
Praveen