MATLAB: Problem with matlab 2010a

matlab function

hi,when i use same function about image processing toolbox the make error. example: i use
BW2 = bwareafilt(BW,[40 50]);
??? Undefined function or method 'bwareafilt' for input arguments of type 'double'.
and when use help ==> bwareafilt not found. can you give me a solution

Best Answer

chaala - according to bwareafilt, this function was introduced in R2014b. You would need to upgrade your version of MATLAB in order to have access to this function.