Hi, I haven't experienced this problem myself. MATLAB is quite reliable across platforms, especially 2010 and later. You should go into debug mode and trace the path of the code through the m file if you can. There should be a function 'le' that doesn't want to handle the cell data type. It happens... Sometimes MATLAB error codes are not always specific. In this instance the actual file containing the function 'le' may not be in you MATLAB path or not installed at all... You have a couple of options to fix this: redefine the data type so that the function can handle the data. This involves some knowledge of MATLAB programming. Search for the function in your folders and see if the function is actually there... It may be missing or not included in your MATLAB path. *Make sure it’s there*! Whatever you do you need to step through the code and find where the function is in the context of the code, and where and if the file is present. You may have to reinstall, but use this as a last option because no one really has the time to do this. Kind Regards, On Thu, Aug 9, 2012 at 10:17 AM, Anas Ghrab <anas.ghrab@xxxxxxxxxxxxx>wrote: > Hi all, > > With MIRToolbox 1.4, mirsegment(...,'RMS') gives me this error : > > >> s = mirsegment(a,'RMS') > Computing mirrms related to bekkitine... > ??? Undefined function or method 'le' for input arguments of type 'cell'. > > Error in ==> mirsegment at 310 > dsm(dsm <= dtk(1)) = []; > > Error in ==> mirsegment at 251 > f = mirsegment(x,p); > > I'm using Matlab 2010 on Mac OS X. > > Do you get this error too ? > > -- > Anas > http://anas.ghrab.tn > >