MATLAB Answers

Can we use the project that is built by the Simulink Galaxy Support Package in Android Studio or Eclipse?

I have been trying to migrate the android project that is built by the Simulink when I click on "deploy on target hardware" to deploy on my Samsung S5. The app worsk fine on the device. Now as far as I can see there is no way to create an app that has a useful user interface with this simulink package. So I want to get this package migrated into Android Studio, but it whatever I do I always get errors no matter what. So , what kind of project type does this package creates? How can we use the output app with our actual app?

  댓글 수: 0

로그인 to comment.

답변 수: 1

saras 님의 답변 3 Nov 2015
 채택된 답변

The support package creates an Ant based project. You should be able to import it in Eclipse if you use the ADT plugin.
I agree that the import process in Android Studio is not straightforward. It requires you to import the project and update the SDK since the support package uses an older version.

  댓글 수: 1

Starting R2016a release, Simulink Support Package for Samsung GALAXY Android Devices generates Android Studio compatible projects. Please refer to this documentation guide for details on the import process.

로그인 to comment.



Translated by