Matlab to android app

조회 수: 16 (최근 30일)
sherif salem
sherif salem 2019년 3월 18일
댓글: Saravanan Osiz 2019년 4월 11일
I have created an app using android studio that simply records an audio. I want to be able to send that audio over to matlab to do some analysis and then return a text to display back on the android app. I tried converting matlab code to C/C++ using Matlab coder but I run into problems because I am using built-in functions like bandpower etc. and it couldnt convert my code. I am just trying to recieve a recording and send it over to matlab and then return a text back to the app. Any recommendations on creating a server? I have looked into Application developer on matlab but I still did not know how to connect that andriod. Any help please.
  댓글 수: 1
Saravanan Osiz
Saravanan Osiz 2019년 4월 11일
Hi
How can i see the demo?

댓글을 달려면 로그인하십시오.

답변 (1개)

Sruthi Yenugula
Sruthi Yenugula 2019년 3월 19일
편집: Walter Roberson 2019년 3월 20일
1) 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 Audio Capture block which captures audio from Android device.
2) If any of the functions are not codegen supported, then you can use external mode to communicate between Simulink and Android device.
Following are the some of the audio examples which can run on Android device.

카테고리

Help CenterFile Exchange에서 MATLAB Mobile에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by