I have a 2D image and I have made some plots including surface plot of that image in MATLAB. Now I want to deploy this code in server and see those plots on android. Please instruct me how can I do that?
1 view (last 30 days)
Show older comments
A=imread(Image Directory Here);
B = rgb2gray( A );
figure
surfc(B,'edgecolor','none')
grid on
rotate3d on
figure
surfc(B,'edgecolor','none')
view (0,90)
figure
surfc(B,'edgecolor','none')
view (-90,0)
figure
surfc(B,'edgecolor','none')
view (0,0)
figure
grid on
imcontour(B,3)
rotate3d on
colormap
hold
3 Comments
Walter Roberson
on 14 Nov 2018
Unfortunately matlab mobile does not have the ability to take pictures and transfer them to the server . You can use Simulink to create an app to deploy to android that can use the camera and use tcp to send to a server for processing . The server would have to create an image array as output and send that to the android . User interaction is limited for this purpose .
At this time it is not supported to target matlab code directly to android , only Simulink. MATLAB Coder can be used with the android as aa generic target but input output capacity is very limited and you would need aa lot of coder.ceval() to do the real interaction .
Answers (0)
See Also
Categories
Find more on Run on Android Device in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!