How to run Matlab code on an Android device?

I would like to run Matlab code on an Android device. Matlab has a JAVA Builder that can create Java classes from M-Files. But this requires installing MatlabRunTime on the target computer. I use Matlab for Windows, so JAVA Builder creates MatlabRunTime as *.

Is there a way to run M files on an Android smartphone?

+8
android matlab matlab-deployment
source share
2 answers

You cannot use any of the deployment products (including MATLAB Compiler and MATLAB Builder for Java) to run MATLAB code on Android. The deployed components that you get from any of these products depend on the runtime of the MATLAB Compiler Runtime, which is much larger than the Android device can handle.

You can consider either

  • Writing an application that connects, as @Oli suggested, MATLAB code (or deployed MATLAB code) running somewhere on the server
  • Using MATLAB Coder, which can convert a subset of MATLAB into C code, which can be integrated into your application.
+7
source share

Try an app called Addi . He does a lot and is getting better.

+2
source share

All Articles