Error in Deployed mode

1 回表示 (過去 30 日間)
Alecsander Eitan
Alecsander Eitan 2014 年 8 月 3 日
回答済み: Image Analyst 2014 年 8 月 3 日
I have a project that runs well in interactive mode. Now it's time to deployed mode, in Linux. The project is compiled successfully using command line: mcc -m -v main_function It generates the run file, However when it is executed, simulation fails wen an object from communication toolbox is called. Error message: Undefined variable "comm" or class "comm.PNSequence". This command runs perfectly when in Matlab environment. What can be wrong, and how to search for this issue? Thanks, Alecs

回答 (1 件)

Image Analyst
Image Analyst 2014 年 8 月 3 日
Did you look at mccExcluded.txt? If it's a tool with a substantial user interface, then those generally are not able to be included in compiled versions. For example imtool() of the Image Processing Toolbox is also excluded from compilation.

カテゴリ

Help Center および File ExchangeJava Package Integration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by