How to run matlab code in java / android

6 ビュー (過去 30 日間)
Hrishikesh Kale
Hrishikesh Kale 2017 年 7 月 12 日
回答済み: Sruthi Yenugula 2018 年 5 月 18 日
i have a matlab code and i wish to integrate it with a java code and then finally build an android app How can I do it should I convert it into java and then android or can i directly create an app from the matlab code .I basically want to run the matlab code on the android platform

回答 (2 件)

dbmn
dbmn 2017 年 7 月 12 日
The toolbox "Matlab Coder" do might what you are looking for. This allows you to export code for a specific language. Be advised that not all Matlab functionality is supported.
Check out this webinar about Matlab -> Android
Or this on Matlab -> C -> Java

Sruthi Yenugula
Sruthi Yenugula 2018 年 5 月 18 日
Hi Hrishikesh,
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 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

カテゴリ

Help Center および File ExchangeRun on Android Device についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by