Hi, I would like to know how to compile my code to run on my smartphone.

4 commentaires

Rik
Rik le 2 Déc 2021
This probably would require converting your Matlab code to C and finding a compiler that can create the binary for your specific device.
What have you tried?
Guilherme Franklin
Guilherme Franklin le 2 Déc 2021
I'm still researching and developing the program, but I'm already looking for how to compile it for mobile devices.
Would you know how to tell me how I could do this conversion so I can test some methods.
Rik
Rik le 2 Déc 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.
Guilherme Franklin
Guilherme Franklin le 2 Déc 2021
Not quite that, I asked the question in general, both for smartphones that use iOS and for smartphones that use Android.
Mine, in this case, is a xiaomi redmi note 9.

Connectez-vous pour commenter.

 Réponse acceptée

Image Analyst
Image Analyst le 2 Déc 2021
Modifié(e) : Image Analyst le 13 Mai 2025

1 vote

Looks like you need the MATLAB Coder Toolbox and the Compiler 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.

1 commentaire

Guilherme Franklin
Guilherme Franklin le 2 Déc 2021
Thank you very much, I will take a look at the video and try to understand. kkkkkkkkkkk
I'm Brazilian and I don't speak English. I'm using Google translator to talk to you guys.

Connectez-vous pour commenter.

Plus de réponses (1)

Sutanu Maiti
Sutanu Maiti le 7 Déc 2021

0 votes

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 commentaires

Image Analyst
Image Analyst le 8 Déc 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
Steven Lord le 8 Déc 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB Mobile 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!

Translated by