Connect Android studio with Matlab
3 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Sruthi Yenugula
on 22 Feb 2019
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 Comments
See Also
Categories
Find more on Run on Android Device in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!