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

13 views (last 30 days)
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.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 21 Nov 2016
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.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!