MATLAB Answers

Matlab project to android app

4 views (last 30 days)
Deepank Singh
Deepank Singh on 15 Nov 2020
Answered: Sutanu Maiti on 18 Nov 2020
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

Answers (1)

Sutanu Maiti
Sutanu Maiti on 18 Nov 2020
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!