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

Antworten (1)

Image Analyst
Image Analyst am 3 Aug. 2014

0 Stimmen

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.

Kategorien

Mehr zu MATLAB Compiler SDK finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 3 Aug. 2014

Beantwortet:

am 3 Aug. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by