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