MATLAB: Can i convert the matlab application to android app
app
I want to do a project for finding the resistance of a resistor using the image processing.Can i convert this into an android app? is it possible?
Best Answer
Hi Vineetha,
You can useSimulink Support Package for Android Devices to convert a Simulink Model to Android Application. You can embed your MATLAB code(Image Processing code) in MATLAB function block and use this with other Android Blocks and create Android Applications with one Click. You can also use Simulink Image Processing blocks fromComputer Vision System Toolbox for Image Processing
You can refer to the following examples for the Image Processing on Android https://www.mathworks.com/help/supportpkg/android/examples/color-replacement.html https://www.mathworks.com/help/supportpkg/android/examples/color-detection.html https://www.mathworks.com/help/supportpkg/android/examples/enhanced-color-replacement-with-customized-code.html
You can refer to the following example which uses MATLAB function block https://www.mathworks.com/help/supportpkg/android/examples/control-lego-mindstorms-ev3-robot-using-android-device.html
To get camera frames useAndroid Camera Block and to display it on Phone screen, useAndroid Video Display Block. Connect camera Block output with input of MATLAB function block and input of Video Display block with output of MATLAB function block.
You can refer to the following example which uses MATLAB function block https://www.mathworks.com/help/supportpkg/android/examples/control-lego-mindstorms-ev3-robot-using-android-device.html
You can refer to the following example to get camera frames and display https://www.mathworks.com/help/supportpkg/android/examples/color-replacement.html
Best Answer