I would like to run Matlab code on an Android device. There is the JAVA Builder in Matlab, which can create Java classes from the M-Files. But it requires a MatlabRunTime to be installed on the target machine. I use Matlab on Windows, so the JAVA Builder creates a MatlabRunTime as *.
Is there a way to run M-Files on an Android Smartphone?
It's not possible to use any of the deployment products (including MATLAB Compiler and MATLAB Builder for Java) to run MATLAB code on Android. The deployed components you get from any of those products depend on the MATLAB Compiler Runtime, which has a much larger footprint than an Android device could handle.
You could consider either