Undefined function error for input arguments of type char

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 日

0 投票

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 件のコメント

Samer Husam
Samer Husam 2012 年 7 月 8 日
how can I install this function in MATLAB ?? can you please explain ?
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 件)

カテゴリ

ヘルプ センター および File Exchange で Downloads についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by