Automatic upload of images from Android to Matlab code

1 view (last 30 days)
Hello everybody
i wanted to ask you, if it is possible to transfer images from android to matlab programs directly (in contunous) after capture this in oder to segment this picture whit an Matlab Code? i would be very happy if you can help me.
thank you

Accepted Answer

Sutanu Maiti
Sutanu Maiti on 28 Oct 2021
You may run entire MATLAB code natively on your Android phone by doing code generation. If you want to do that you may have a look at below:
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. You use Camera and Video Display blocks of Android Support Package.
If any of the functions are not codegen supported, then you can use external mode to communicate between Simulink and Android device.
Following are the some of the examples which uses MATLAB function block

More Answers (1)

yanqi liu
yanqi liu on 12 Oct 2021
sir,may be in MATLAB use http server to make a rest api,the client use it to upload

Community Treasure Hunt

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

Start Hunting!