Error in Deployed mode

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

Respuestas (1)

Image Analyst
Image Analyst el 3 de Ag. de 2014

0 votos

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.

Categorías

Más información sobre MATLAB Compiler SDK en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 3 de Ag. de 2014

Respondida:

el 3 de Ag. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by