How to deploy a Matlab app to iOS and Android?
조회 수: 160 (최근 30일)
이전 댓글 표시
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!
댓글 수: 0
채택된 답변
Bill Chou
2017년 3월 10일
One option is to use MATLAB Coder, which generates C code from your MATLAB algorithm. You can then integrate the generated C code into your iOS and Android apps. Here’s a webinar and example code that shows this workflow:
A few customers have tried this approach. In particular, Respiri created an Android and iPhone app for their wheeze detection product:
댓글 수: 0
추가 답변 (5개)
Walter Roberson
2013년 4월 11일
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.
댓글 수: 0
saras
2016년 7월 22일
The following two products will allow you to generate code for mobile devices:
and
댓글 수: 2
Walter Roberson
2016년 7월 22일
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.
daniel hennessy
2013년 4월 11일
댓글 수: 5
Sven Mixer
2014년 4월 10일
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
2021년 5월 9일
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
2024년 10월 18일
[a, t]=accellog(m); Plot(t, a); legend('X','Y','Z'); xlabel('relative time (s)'); ylabel('acceleration (m/s^2);
댓글 수: 0
BHOOMIKA MS
2024년 10월 18일
[a, t]=accellog(m); Plot(t, a); legend('X','Y','Z'); xlabel('relative time (s)'); ylabel('acceleration (m/s^2);
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Android Devices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!