| Contents | Index |
| On this page… |
|---|
Path for Java Development on All Platforms Path Modifications Required for Accessibility |
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.
Note For matlabroot, substitute the MATLAB root folder on your system. Type matlabroot to see this folder name. |
There are additional requirements when programming in the Java programming language. See Deploying Applications That Call the Java Native Libraries.
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.
When programming with components that are generated with MATLAB Compiler, add the following folder to your system PATH environment variable:
matlabroot\runtime\win32|win64
Add the following platform-specific folders to your dynamic library path.
Note For readability, the following commands appear on separate lines, but you must enter each setenv command on one line. |
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
![]() | Reference Information | Directories Required for Run-Time Deployment | ![]() |

Learn how to build standalone executables and C/C++ shared libraries from MATLAB code.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |