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

4 comentarios

Rik
Rik el 2 de Dic. de 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 el 2 de Dic. de 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 el 2 de Dic. de 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 el 2 de Dic. de 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.

Iniciar sesión para comentar.

 Respuesta aceptada

Image Analyst
Image Analyst el 2 de Dic. de 2021
Editada: Image Analyst el 13 de Mayo de 2025

1 voto

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 comentario

Guilherme Franklin
Guilherme Franklin el 2 de Dic. de 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.

Iniciar sesión para comentar.

Más respuestas (1)

Sutanu Maiti
Sutanu Maiti el 7 de Dic. de 2021

0 votos

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 comentarios

Image Analyst
Image Analyst el 8 de Dic. de 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 el 8 de Dic. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB Mobile en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 2 de Dic. de 2021

Editada:

el 13 de Mayo de 2025

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by