Connect Android studio with Matlab
显示 更早的评论
Hello, How can i connect Android studio with Matlab Please?
I write the code in Android studio
and another code on Matlab for detectin eyes moving
i want to combine them , anyone know how ?
Thank you.
回答(1 个)
Sruthi Yenugula
2019-2-22
1 个投票
Hi Amani,
You can use Simulink Android Support package to achieve this. Embed Your MATLAB code in MATLAB function block, use ToApp Block of Andorid Support Package. Deploy the model and Import to Android Studio and modify the code accordingly.
Check the below examples for more info
https://www.mathworks.com/help/supportpkg/android/ref/control-lego-mindstorms-ev3-robot-using-android-device.html - for function block
https://www.mathworks.com/help/supportpkg/android/ref/enhanced-color-replacement-with-customized-code.html - to add custom code using ToApp Block
类别
在 帮助中心 和 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!