Skip to Main Content Skip to Search
Product Documentation

Directories Required for Development and Testing

Overview

The following information is for developers developing applications that use libraries or components that contain compiled MATLAB 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 

Intel Mac (Maci64)

setenv DYLD_LIBRARY_PATH 
   matlabroot/runtime/maci64: 
   matlabroot/bin/maci64: 
   matlabroot/sys/os/maci64: 
   setenv XAPPLRESDIR matlabroot/X11/app-defaults 
  


Free MATLAB Compiler Interactive Kit

Learn how to build standalone executables and C/C++ shared libraries from MATLAB code.


Get free kit

Trials Available

Try the latest version of MATLAB Compiler.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS