Error in Deployed mode

1 次查看(过去 30 天)
Alecsander Eitan
Alecsander Eitan 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 CenterFile Exchange 中查找有关 Java Package Integration 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by