Creating an Android app from MATLAB code

조회 수: 3 (최근 30일)
seven_dwarves
seven_dwarves 2015년 1월 26일
댓글: Ankit Rathore 2022년 2월 24일
Hello all,
I have written a MATLAB code using components of the Image Processing Toolbox, where the input is an image of a leaf and the program gives me the percentage of yellow coloration w.r.t the size of the leaf.
I intend to make this program portable, where users can take a picture with their cellphones and obtain the percentage of yellow coloration without having to use a computer.
So far, I've seen posts about compiling the MATLAB code into C++ using the compiler. Is this the best solution to this? Once I have the C++ code, how will I go about creating an App for this software?
Thanks.
  댓글 수: 2
Sutanu Maiti
Sutanu Maiti 2020년 3월 24일
There is Simulink Support package for Android Devices that you can install from Add-on Manager of your MATLAB.
It supports creating app from a Simulink Model. There are camera, video display, data display sesor and other device driver blocks available for Android.
You can also use your MATLAB code inside MATLAB function block that will become part of your app which runs stand alone.
Please follow the below example where boundaries of objects are detected live on camera feed. Plase have a look on below exmple:
Ankit Rathore
Ankit Rathore 2022년 2월 24일
Were you able to develop the application? If yes please do respond. I need your help

댓글을 달려면 로그인하십시오.

답변 (1개)

Ioana Ferdoschi
Ioana Ferdoschi 2018년 7월 18일
Do you have the answer for your question? I am interested in it too.
  댓글 수: 1
Faik Kemal YILMAZ
Faik Kemal YILMAZ 2020년 3월 24일
I am interested in it too. Did you find any guide or solution ?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by