How to deploy a Matlab app to iOS and Android?
Afficher commentaires plus anciens
I'm new to Matlab but I'm working with a developer that has an algo that is written in Matlab. I want to port this application to iOS & Android without having to rewrite the algo in Java , C etc. This application will be packaged with other C code. Will Matlab compiler achieve this purpose? Are there any gotchas with Matlab compiler once it comes time to deploy on iOS and android ? e.g. unsupported functions etc - thanks!
Réponse acceptée
Plus de réponses (5)
Walter Roberson
le 11 Avr 2013
1 vote
The MATLAB Compiler will not do this for you, and that includes Java Builder. You need MCR (MATLAB Component Runtime) which requires MS Windows, Linux, or OS-X to run on.
saras
le 22 Juil 2016
1 vote
The following two products will allow you to generate code for mobile devices:
and
2 commentaires
Walter Roberson
le 22 Juil 2016
Notice that those two require that you use Simulink to control the generation. Those two are not general purpose "deploy MATLAB code to Android / iOS": you have to live with the various restrictions of Simulink.
ugur arslan
le 11 Déc 2020
thanks
daniel hennessy
le 11 Avr 2013
0 votes
5 commentaires
Walter Roberson
le 11 Avr 2013
Does the code use any of the toolkits? Generally speaking, what kind of processing is it doing?
Sven Mixer
le 10 Avr 2014
I've got similar question and found this topic very useful, I am using Image Processing toolkit. I am interested how I can port MATLAB code to iOS and Android? Is there any tool for it? I've heard of MATLAB Coder, do someone has experience with it? Will it solve my problem by generating C code and C code I can insert into iOS (as Objective C++).
Walter Roberson
le 10 Avr 2014
If what you are doing at the MATLAB level is pure calculation without display or reading or writing images or frame capture, then MATLAB Coder can handle most of the Image Processing Toolkit routines for that these days.
Any graphics or file reading or writing you would have to handle at the C++ level.
Sven Mixer
le 10 Avr 2014
Thank you very much in such a prompt and clear answer. Now I am sure I've understood it right.
In what means can MATLAB Coder product can be obtained for probation and trial? Can we get Price offer on that?
My main question is here: http://www.mathworks.se/matlabcentral/answers/125313-port-matlab-m-code-to-objective-c
NICOLE MIN
le 9 Mai 2021
i have a function code created from GUI, how can i use the Matlab code to convert my function script to C code. i ve tried several times but failed, i have these error

BHOOMIKA MS
le 18 Oct 2024
0 votes
[a, t]=accellog(m); Plot(t, a); legend('X','Y','Z'); xlabel('relative time (s)'); ylabel('acceleration (m/s^2);
BHOOMIKA MS
le 18 Oct 2024
0 votes
[a, t]=accellog(m); Plot(t, a); legend('X','Y','Z'); xlabel('relative time (s)'); ylabel('acceleration (m/s^2);
Catégories
En savoir plus sur Setup and Configuration dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!