android app for matlab code
조회 수: 3 (최근 30일)
이전 댓글 표시
I had done some image processing in matlab and then created GUI. Can I create android app for same ?How to make it in simpler way ?
댓글 수: 0
채택된 답변
Sruthi Yenugula
2019년 2월 1일
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.
To get camera frames use Android Camera Block and to display it on Phone screen, use Android Video Display Block. Connect camera Block output with input of MATLAB function block and input of Video Display block with output of MATLAB function block.
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
You can refer to the following example to get camera frames and display https://www.mathworks.com/help/supportpkg/android/examples/color-replacement.html
댓글 수: 0
추가 답변 (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!