script runs fine in matlab environment but fails to run when compiled
古いコメントを表示
I have a script that runs perfectly in the matlab environment but does not work when compiled as a stand alone program. Matlab does not throw up an error or anything the program just stops working and closes about half way through completion. I checked mccExcludedfiles.log and it didn't have anything in it. I am using the signal processing toolbox and it is checked under settings toolbox on path. I am unclear as to whether or not matlab can compile a script or if it has to be a function. I have R2012a. How can I figure out where the program is hanging up and why?
回答 (2 件)
Walter Roberson
2012 年 8 月 7 日
0 投票
In all previous releases, scripts could not be compiled (only functions.) I have not seen any indication that that has changed, but I have not read the release notes.
Matthew
2012 年 8 月 7 日
編集済み: Walter Roberson
2012 年 8 月 8 日
カテゴリ
ヘルプ センター および File Exchange で Statistics and Machine Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!