MATLAB: Undefined function error for input arguments of type char

fexundefined function or methodxlsprotect

hi all,
I am facing a problem when I run my code before it use to work well, but now its getting an error while i run, the error is :
??? Undefined function or method 'xlsprotect' for input arguments of type 'char'.
why I am getting this error ?? and how I can overcome it ? and why before it use to work well ?? please help…

Best Answer

xlsprotect() is not built into MATLAB. You need to download it and install it from the File Exchange http://www.mathworks.com/matlabcentral/fileexchange/6046
Related Question