Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

5.0 | 1 rating Rate this file 99 Downloads (last 30 days) File Size: 15.1 KB File ID: #45073 Version: 1.4
image thumbnail

Simulink Support Package for Android Devices



06 Mar 2014 (Updated )

Run models on Samsung GALAXY and Google Nexus devices.

| Watch this File

File Information

Installer file for Simulink Support Package for Android Devices. For more details on capabilities for this support package, please visit:
Opening the .mlpkginstall file from your operating system or from within MATLAB will initiate the installation process for this Hardware Support Package and acquire the latest support package available for the release you have.
This .mlpkginstall file is functional for R2014a and beyond.


This file inspired Color Detection With Camera In Android Devices.

Required Products Simulink
MATLAB release MATLAB 8.3 (R2014a)
MATLAB Search Path
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (19)
29 Jul 2016 Greg Drayer Andrade

Great job team! This is working very nicely. Each release is getting better and better.

11 May 2016 fgao

fgao (view profile)

@Hamid Alavi Can you reinstall it?

Comment only
03 Mar 2016 Hamid Alavi

i am trying to install this package but when my wifi disconnect for just a sec, the installation fails!
is there another way to download this package?

Comment only
03 Feb 2016 saras

saras (view profile)

@Anshuman: You can review the Android usage example available at

Comment only
24 Jun 2015 Anshuman G

I am trying to access the Microphones (ADC1,ADC3 and ADC4) on Motorola Nexus 6 through Simulink Support package.
Can anyone contribute? Any useful information?Links?

Comment only
11 Dec 2014 Mauro

Mauro (view profile)

Hello. It is a very good package, also for educational purposes.
I wander if S4 Mini requires a different connection setup with respect to S4.
The 'test connection' with my Galaxy S4 Mini fails, nevertheless the device model and its IP are correctly discovered.
Then the 'Filtering Sensor Data' example does not work (it uses external simulation mode) while the 'Sensor application' model (which is deployed to hardware) works correctly.

Comment only
06 Oct 2014 Da Bu

Da Bu (view profile)

Thanks Brian, but I couldn't find neither "Download from Internet" nor "Install from folder" option in the support package installer! Could you please help me find these options?

Comment only
02 Oct 2014 Brian McKay

Brian McKay (view profile)

@Da Bu: Yes, select the "Download from Internet" option in the Support Package Installer. Copy that folder (location for me is C:\MATLAB\SupportPackages\R2014a\downloads\android_download) to a thumb drive and then you can install on another machine using the "Install from folder" option (again found in the Support Package Installer).

Note: For this Support Package there are additional installation steps that require internet access - you can review the documentation for details:

Comment only
01 Oct 2014 Da Bu

Da Bu (view profile)

Is there a step by step guide to install this hardware support package on a PC which is couldn't connect to internet?
I mean could 3rd party softwares be downloaded seperatly and then configure the package with some commands or additional files?

Comment only
10 Sep 2014 Reza

Reza (view profile)

The package was successfully installed on windows 7. All the examples work for both Galaxy S4 and Nexus 5 phones. In case of Nexus 5 you need to select 'Galaxy Note' in the 'targetupdater' wizard.

Comment only
02 Jul 2014 Don

Don (view profile)

I can confirm that the package is working for accelerometers using a Note 3, android 4.4.2 and Windows 7. I previously had an issue with the Java JDK. I didn't get the "Test Connection" to work on installation, but just ignored that and tried a simulation.

Comment only
24 Jun 2014 Don

Don (view profile)

I'm having trouble passing the installation "Test Connection". I see my device (Note 3), but fail the test. My IP looks correct. Do you have any troubleshooting tips.

For those with issues seeing your device in Windows, it takes a long time for Windows to install the Galaxy drivers. If I recall, there were 4 drivers needed for my Note 3. After those were installed, then I could see my device listed after pressing refresh.

If you're not sure about drivers, I noted an icon with activity showing in the taskbar display indicating that drivers were being located.

Comment only
24 Jun 2014 Brian McKay

Brian McKay (view profile)

@Prashant: We have reached out to you, to better understand the challenges you had, but have not received a response. Please contact us to expand on the issues.

For anyone else with similar issues – we would like to understand any problems you run across.

And for all those with no issues – we are open to any feedback on the Galaxy Android support and hope you are finding it useful.


Comment only
28 Mar 2014 Henrik

Henrik (view profile)

Hi Brian,
thanks for the response. Just to clarify:
I have selected the Device type (tried with choosing the Tab 2 and the S4); the problem occurs 4 screens later ("Connect your device and install app") where the device simply doesn't show up (despite pressing "Refresh" several times).

Comment only
27 Mar 2014 Brian McKay

Brian McKay (view profile)

Hi @Reto and @Henrik,

If your device isn't showing, choose "Select Tablet" device type and follow instructions from there.

Comment only
27 Mar 2014 Henrik

Henrik (view profile)

I have got the same problem as Reto: my device doesn't show up in the List of devices.
I have tried this with a Galaxy S and a Galaxy Note 10.1. The Galaxy S showed up once, but I haven't been able to get it to appear again.
The devices show up in Device Manager, and I can connect to them with adb.
Any suggestions?

Comment only
16 Mar 2014 Reto Hofmann

Hello, I tried to install it following this directions but my device doesn't show up on the list in step 8. What could be the problem?

I'm using Windows 8.1 and a Galaxy s4 running 4.4.2.

Comment only
10 Mar 2014 MathWorks Simulink Team

Hello Hans,

We believe it will work on any Samsung Galaxy Android device, assuming they are running Android 4.3 or 4.4.

However, we have only done full testing on the Galaxy S4 and Tab 2 10.1.

Note: It is possible that this Support Package will also work on non-Samsung Android devices - I had it running on my Google Nexus 7 (2013) tablet. My Nexus 7 test model only used the screen and accelerometer; so I cant confirm if all the IO will work for any particular device.

Please download and try the Support Package - and let us know if you were successful.


Comment only
07 Mar 2014 Hans

Hans (view profile)

Hi there,

excellent package.

Does this package support also other Galaxy Device such as Galaxy Note 3 or
Samsung Galaxy Tab 3 7.0 Hello Kitty?

Or are only Galaxy S4 and Samsung GALAXY Tab 2 10.1?

Comment only
07 Mar 2014 1.2

url update

07 Mar 2014 1.1

updated image thumbnail

07 Mar 2014 1.3

url fix again

14 Sep 2016 1.4

New thumbnail image

Contact us