Error in Deployed mode

3 views (last 30 days)
Alecsander Eitan
Alecsander Eitan on 3 Aug 2014
Answered: Image Analyst on 3 Aug 2014
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

Answers (1)

Image Analyst
Image Analyst on 3 Aug 2014
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.

Categories

Find more on Java Package Integration in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!