Anyone have Java implementation for Matlab functions?
1 回表示 (過去 30 日間)
古いコメントを表示
Hi All,
I am currently working on my graduate thesis which requires to implement signal processing and pattern recognition in Android platform. But I cannot use Matlab libraries directly in Android, not only because of the difficulty and the possibility to drain battery and drag the system down, but also the license issue to use Matlab in an open source project. Therefore I need to seek other solutions. So is there an open source Java or C implementation for Matlab functions? If there is some Java code I could use, it will be awesome. But if there is only some C code, it will be somehow painful to employ JNI in Android, but better than nothing~
Anyone who has a link or some code, please let me know. Thank you so much for your time reading this anyway. And big thanks for the people who help.
Thank you!
0 件のコメント
採用された回答
Friedrich
2012 年 8 月 28 日
Hi,
this could be worth a shot:
use MATLAB Coder to generate C code out of your MATLAB code. Then use some ARM compiler and compile it into a format which the android supports. Then use JNI to load that compiled code.
This should work as long your MATLAB code is supported for code generation:
I have never done it but it seems to me like it should work.
0 件のコメント
その他の回答 (1 件)
Jan
2012 年 8 月 28 日
This is a very general question. You will not find a Java toolbox, which replaces all Matlab functions. Because Matlab's toolbox functions depend on each other, you will even not be able to find a sufficiently large subset of function, which could be converted to Java. Therefore it would be smarter to ask for specific routines. Creating your program from scratch will be more efficient than looking for a Matlab replacement.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Android Devices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!