Can matlab code is used in android studio for application?

8 vues (au cours des 30 derniers jours)
Malhar Trivedi
Malhar Trivedi le 5 Sep 2018
Commenté : Doli Hazarika le 27 Déc 2022
reply as fast as you can..

Réponses (3)

Sruthi Yenugula
Sruthi Yenugula le 5 Sep 2018
Hi Malhar,
You can use Simulink Support Package for Android Devices to convert a Simulink Model to Android Application. You can embed your MATLAB code in MATLAB function block and use this with other Android Blocks and create Android Applications with one Click. Use can import this project into Android Studio.
You can refer to the following example which uses MATLAB function block https://www.mathworks.com/help/supportpkg/android/examples/control-lego-mindstorms-ev3-robot-using-android-device.html
Alternatively you can use MATLAB Coder to convert the MATLAB code to C and integrated with your Android Application using JNI.

Muneeb Tahir
Muneeb Tahir le 21 Avr 2021
Can we design matlab model in android studio?
For example: The user interface is designed in android studio and we want to add the gender detection by face model of matlab to be working through android studio.
Working would be like ths:
We will be capturing photo from android app built in adnroid Studio and the functioning of matlab will tell if the gender is either male or female. How can i perform this? Please reply as soon as possible.

Sruthi Yenugula
Sruthi Yenugula le 21 Avr 2021
  1 commentaire
Doli Hazarika
Doli Hazarika le 27 Déc 2022
Hi Sruthi,
Is there any possibility of integrating the simulink trained classification model with an already existing android studio app? If yes, then please let me know how it should be done.
Thanks in advance for your time!

Connectez-vous pour commenter.

Catégories

En savoir plus sur Run on Android Device dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by