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!