MATLAB: How to compile matlab .m to java using Application Complier

application complierjava

From what I have seen online, the application compiler should be able to compile matlab code to java. However when I open the Application Compiler the Java Package option is not available in the Type selection list.
I have Java JDK 1.8, MATLAB support for MinGW-w64 C/C++ Complier and MATLAB Complier SDK installed.
https://uk.mathworks.com/help/compiler_sdk/gs/create-a-java-application-with-matlab-code.html

Best Answer

You need library compiler (MATLAB Compiler SDK), MATLAB compiler merely allow you compile to exe. file.
If you have installed MATLAB Compiler SDK, open library compiler in your app tab.
Related Question