File Exchange

image thumbnail

Embedded Coder Support Package for BeagleBone Black Hardware

Generate code optimized for BeagleBone Black.


Updated 11 Sep 2019

Embedded Coder® Support Package for BeagleBone Black Hardware enables you to create and run Simulink® models on BeagleBone Black hardware. The support package includes a library of Simulink blocks for configuring and accessing BeagleBone Black peripherals and communication interfaces. For NEON™ optimized code for DSP filters, use ARM® Cortex® A Ne10 Library Support from DSP System Toolbox™.

This support package is functional for R2014b and beyond.

If you have download or installation issues, please contact Technical Support:

Comments and Ratings (20)


It doesn't work with the Debian version next to 2015, so downgrade your kernels!
similar answer:
I don't know, if matlab wants to update this in future.

I'm getting a "Error executing command: sudo no tty present and no askpass program specified"

For third party related download failures, follow the instructions provided in this page for a clean install


but i can not download this part?who can tell me how to do.

The third party crashes when trying to download. Wondering how to fix this

I second that, it doesn't work with latest version of Debian from the bbb support page. Error is: "Cannot establish an SSH connection... "
The bbb otherwise works great, just won't connect like the old Ubuntu did.

It doesn't work with the latest version of Debian. It seems you can use it just with 7.x

I want to use the NEON on my beaglebone BLUE for running a function "fun" that I have in a matlab file .m (Not simulink).

Can anyone help me set this up? I'm confused on how to proceed for this.

where is the Simulink blocks for serial communications?

@Murat Belge
It works :)


Murat Belge

@Laurent/@Kangwon: The newest BBB rev C boards come with a Debian image dated 2015-03-01. In this Linux image, Linux package indexes has been deleted. Therefore, targetupdater cannot install required Linux packages. To re-create the Linux package index:

1. Connect your BeagleBone Black to Internet. This can be done by either connecting the board to a LAN network / router using the Ethernet port on the board or enabling "Internet connection sharing" on a Windows computer.

2. Login to BeagleBone Black using PuTTY and execute "sudo apt-get update" command. This command re-creates the package index that was missing on the original Debian image.

You can then start "targetupdater" in MATLAB and proceed with updating the Linux image.

I have the same error updating Linux on BBB (rev C):
"server unable to locate specified resource"
I'm using Matlab R2015b Win7 64bits
Note : I'm behind a proxy server (configured and working within matlab).

Thanks in advance


I am trying to update the Linux of the BBB board but getting an error message of server unable to locate specified resource. Does anyone have some clue?

Thanks in advance


I tried this out and had no issues.
The Simulink blocks for I/O, Video, LED and serial communications work as expected.

MATLAB support for I/O communication with BeagleBone Black was added in R2015a:


Even matlab 2014a still not support .Why ??


is there any way i can install support for beaglebone black on matlab r2013a?

best regards.

MATLAB Release Compatibility
Created with R2014b
Compatible with R2014b to R2019b
Platform Compatibility
Windows macOS Linux