Matlab project to android app

7 次查看(过去 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

回答(1 个)

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:

类别

Help CenterFile Exchange 中查找有关 Run on Android Device 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by