Undefined function error for input arguments of type char

조회 수: 4 (최근 30일)
Samer Husam
Samer Husam 2012년 7월 8일
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...

채택된 답변

Walter Roberson
Walter Roberson 2012년 7월 8일
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
  댓글 수: 3
Walter Roberson
Walter Roberson 2012년 7월 8일
Click on the "Download All" link on that page. Create a directory and unzip the .zip into that directory. Add the directory to your MATLAB path using pathtool.
Samer Husam
Samer Husam 2012년 7월 8일
thanks a lot for explaining...

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Downloads에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by