There is an error when I try to make a change to cpcorr which is "Error writing cpcorr.m Check if directory is read-only, or has been renamed or deleted." Did anybody know to solve this problem? Thank you in advance.
20 Jun 2014
Segmentation by growing a region from seed point using intensity mean measure
??? Subscript indices must either be real positive integers or logicals.
Error in ==> regiongrowing at 34
reg_mean = I(x,y); % The mean of the segmented region
how could this problem be solved please response ASAP