How to run Matlab code on an Android device?
Asked Answered
B

2

8

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?

Brewer answered 27/1, 2012 at 13:33 Comment(1)
I think you'd better try to run matlab remotely on a server...Taam
O
7

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

  1. Writing an app that connects, as @Oli suggested, to MATLAB code (or deployed MATLAB code) running somewhere on a server
  2. Using MATLAB Coder, which can convert a subset of the MATLAB language into C code that could be integrated into your app.
Olivenite answered 27/1, 2012 at 17:40 Comment(0)
M
2

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

Mayorga answered 29/1, 2012 at 18:16 Comment(2)
Hi corbin, interesting hint, but you might've wanted to mention that Addi is your own product. :) Btw., why did you develop something new that appears to be only a bit like Matlab when there is already Octave for Android which is largely Matlab compatible, at least regarding the numeric core functionality?Marquise
I actually developed Addi before Octave for Android.Mayorga

© 2022 - 2024 — McMap. All rights reserved.