Matlab project to android app

조회 수: 2(최근 30일)
Deepank Singh
Deepank Singh 2020년 11월 15일
답변: Sutanu Maiti 2020년 11월 18일
I already have a MATLAB project which consist of one main function and other dependent functions.
What it does ? Main function needs an input image, and then it works on the image with the help of other functions and outputs a figure, which is then converted into an image.
What I want ? Android app to capture a Image send it to main function and display the output image.
What I've done ? I install the simulink Android library and through the matlab function, I can only use one function, but I've a function which calls other functions in a loop.
Kindly help me to convert this MATLAB Project to android app


Sutanu Maiti
Sutanu Maiti 2020년 11월 18일
You may consider your loop in MATLAB project as the step which executes at the rate of mentioned sample time. Now you can keep the content inside the loop inside MATLAB Function block in Simulink model. you can keep other functions as nested inside the main function of the block.
Have a look at the example:

Community Treasure Hunt

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

Start Hunting!

Translated by