Compile the code for smartphone
20 views (last 30 days)
Show older comments
Guilherme Franklin
on 2 Dec 2021
Commented: Steven Lord
on 8 Dec 2021
Hi, I would like to know how to compile my code to run on my smartphone.
4 Comments
Rik
on 2 Dec 2021
Start with Google. I expect the process will depend on what smartphone you happen to own. Since you insist on not telling us, we can't help you.
Accepted Answer
Image Analyst
on 2 Dec 2021
Looks like youi need the MATLAB Coder Toolbox and the Oompiler Toolbox. Here's a video, that's pretty nonspecific, that says you can do it with an iPhone or iPad. I didn't see anything for Android.
More Answers (1)
Sutanu Maiti
on 7 Dec 2021
You may use MATLAB add-on feature Simulink Support package for Android devices to create an Android App right from Simulink model without writing any code.
PLease have a look at below links for details:
2 Comments
Image Analyst
on 8 Dec 2021
Is there any way to do it without having Simulink? Like if you just have base MATLAB and the MATLAB Compiler toolbox?
Steven Lord
on 8 Dec 2021
Just MATLAB and MATLAB Compiler? I'm pretty sure the answer is no, that applications generated by MATLAB Compiler can only be deployed to platforms on which MATLAB is supported.
MATLAB and MATLAB Coder? See the "Prototype on Hardware" section on the MATLAB Coder product page for a short video that discusses at a very high level generating code for iPhone or iPad.
See Also
Categories
Find more on MATLAB Mobile in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!