Can matlab code is used in android studio for application?
17 次查看(过去 30 天)
显示 更早的评论
reply as fast as you can..
0 个评论
回答(3 个)
Sruthi Yenugula
2018-9-5
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.
0 个评论
Muneeb Tahir
2021-4-21
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.
0 个评论
Sruthi Yenugula
2021-4-21
You can check the folllwing examples
You can create an app using Simulink Android Support Package
1 个评论
Doli Hazarika
2022-12-27
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!
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Run on Android Device 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!