Matlab Code to Android
3 views (last 30 days)
Show older comments
I've created an algorithm in Matlab using Image Processing Toolbox. I'd like to use this algorithm on Android Tablet. I've found two options so far: a. Manually porting Matlab code to native C using Matlab functions in C (requires significant & time consuming programming efforts). b. Automatically porting Matlab code using Matlab Coder (requires purchase of the very expensive Matlab Coder; in addition, not sure if it covers everything I need).
My questions are: 1. What is the preferred way to do it? 2. Are there any other ways to run my Matlab algorithm on Android? 3. What should I take into consideration while deciding about an option
P.S. I came across two another options which I do NOT want to use: a. Installing Matlab Run-Time on Android (too heavy for Android Tablet and not sure if possible) b. Running Matlab algorithm externally on some server (my Android app is stand-alone, so I cannot use this option)
0 Comments
Accepted Answer
Sean Little
on 7 Mar 2013
The Matlab coder is probably your best option. You can find what functions are supported for code generation in the documentation, or at the following link:
Otherwise, I would consider using one of the excellent image processing libraries like http://opencv.org/. I believe there is already pretty good support for android in that library.
0 Comments
More Answers (0)
See Also
Categories
Find more on Android Devices 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!