Matlab -> dl l-> JNI -> Java working example
Version 1.0.0.0 (1.68 MB) by
Wojciech Gradkowski
This is a code sample of m-file->dll->JNI->Java interfacin
In this package contains:
- simple matlab funcion that was compiled with MCC to dynamic library.
- Visual Studio .NET project showing how to plug in the Matlab's dll and create JNI library interacing to Java
- Java project that uses native methods to run compiled dll's
Cite As
Wojciech Gradkowski (2026). Matlab -> dl l-> JNI -> Java working example (https://uk.mathworks.com/matlabcentral/fileexchange/10463-matlab-dl-l-jni-java-working-example), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R14SP2
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Java Package Integration in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: From Fortran, call MATLAB Compiler C shared library
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
JNITest/JAVA/libmyrand_mcr/toolbox/compiler/
JNITest/JAVA/libmyrand_mcr/toolbox/compiler/deploy/
JNITest/JAVA/libmyrand_mcr/toolbox/local/
JNITest/JAVA/libmyrand_mcr/work/
JNITest/MATLAB/
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
