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.
In this example you will learn how to configure a simple Simulink model to generate code for BeagleBone Black hardware and run the generated code on the board to periodically turn and LED on and off.
Fonte e mais detalhes aqui