Why do I receive the "apps-default" warning when running my deployed standalone executable or shared library from a UNIX or Linux shell?

I create a standalone executable or shared library using the MATLAB Compiler. When I run it within my UNIX/Linux shell (e.g. csh/tcsh) I get an "apps-default" warning:
 
Warning: latest version of matlab app-defaults file not found.
Contact your system administrator to have this file installed.
Although I get the above warning when running my deployed program, it does not prevent me from running my application.

 Respuesta aceptada

The Linux/UNIX environment variable XAPPLRESDIR should be set to the below path before the standalone executable or shared library runs.
If running against the MCR:
setenv XAPPLRESDIR <mcrroot>/<version>/X11/app-defaults
where mcrroot is the root installation folder of the MCR, and version is the version of the MCR.
If running against MATLAB:
setenv XAPPLRESDIR <matlabroot>/X11/app-defaults
where matlabroot is the root installation folder of MATLAB.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by