Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB Compiler   

Directories Required for Development and Testing

Overview

The following information is for programmers developing applications that use libraries or components that contain compiled M-code. These settings are required on the machine where you are developing your application. Other settings required by end users at run time are described in Directories Required for Run-Time Deployment.

Path for Java Development on All Platforms

There are additional requirements when programming in the Java programming language. See Deploying Applications That Call the Java Native Libraries.

Path Modifications Required for Accessibility

In order to use some screen-readers or assistive technologies, such as JAWS®, you must add the following DLLs to your Windows path:

JavaAccessBridge.dll
WindowsAccessBridge.dll

You may not be able to use such technologies without doing so.

Windows Settings for Development and Testing

When programming with components that are generated with MATLAB Compiler, add the following folder to your system PATH environment variable:

matlabroot\runtime\win32|win64

UNIX Settings for Development and Testing

Add the following platform-specific folders to your dynamic library path.

Linux

setenv LD_LIBRARY_PATH 
   matlabroot/runtime/glnx86: 
   matlabroot/bin/glnx86: 
   matlabroot/sys/os/glnx86:     
   matlabroot/sys/java/jre/glnx86/jre/lib/i386/native_threads: 
   matlabroot/sys/java/jre/glnx86/jre/lib/i386/server: 
   matlabroot/sys/java/jre/glnx86/jre/lib/i386: 
setenv XAPPLRESDIR matlabroot/X11/app-defaults 

Linux x86-64

setenv LD_LIBRARY_PATH 
   matlabroot/runtime/glnxa64: 
   matlabroot/bin/glnxa64: 
   matlabroot/sys/os/glnxa64: 
   matlabroot/sys/java/jre/glnxa64/jre/lib/amd64/native_threads: 
   matlabroot/sys/java/jre/glnxa64/jre/lib/amd64/server: 
   matlabroot/sys/java/jre/glnxa64/jre/lib/amd64: 
setenv XAPPLRESDIR matlabroot/X11/app-defaults 

Solaris 64

setenv LD_LIBRARY_PATH 
   matlabroot/runtime/sol64: 
   matlabroot/bin/sol64: 
   matlabroot/sys/os/sol64: 
   matlabroot/sys/java/jre/sol64/jre/lib/sparcv9/native_threads: 
   matlabroot/sys/java/jre/sol64/jre/lib/sparcv9/server: 
   matlabroot/sys/java/jre/sol64/jre/lib/sparcv9: 
setenv XAPPLRESDIR matlabroot/X11/app-defaults 

Intel Mac (Maci)

setenv DYLD_LIBRARY_PATH 
   matlabroot/runtime/maci: 
   matlabroot/bin/maci: 
   matlabroot/sys/os/maci: 
   /System/Library/Frameworks/JavaVM.framework/JavaVM: 
   /System/Library/Frameworks/JavaVM.framework/Libraries 
setenv XAPPLRESDIR matlabroot/X11/app-defaults 

Intel Mac (Maci64)

setenv DYLD_LIBRARY_PATH 
   matlabroot/runtime/maci64: 
   matlabroot/bin/maci64: 
   matlabroot/sys/os/maci64: 
   /System/Library/Frameworks/JavaVM.framework/JavaVM: 
   /System/Library/Frameworks/JavaVM.framework/Libraries 
setenv XAPPLRESDIR matlabroot/X11/app-defaults 
  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS