Connect Android studio with Matlab
조회 수: 4 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (1개)
Sruthi Yenugula
2019년 2월 22일
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
댓글 수: 0
참고 항목
카테고리
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!