This video will show how you can easily and quickly program a Raspberry Pi using Simulink to access a webcam and run a color detection algorithm natively on the Raspberry Pi.

The video is an abridged version of a thirty minute webinar, which you can see in its entirety here.

If you already have MATLAB and Simulink installed, you can automatically download and install the Raspberry Pi Support Package for Simulink by clicking the button below.

Pingback: MathWorks Student Ambassador @ Royal Institute of Technology | MakerZone

Would it be possible to do this using a network connect instead of direct connection?

The Raspberry Pi Support Package can indeed be used to hook up to a RPi over a wired or wireless network, as long as the two machines are routable (i.e., on the same side of a firewall/NAT).

Here’s an article to help you connect your RPi to WiFi:

http://learn.adafruit.com/adafruits-raspberry-pi-lesson-3-network-setup/setting-up-wifi-with-occidentalis

Can this will work for beaglebone black. If not then can u share how to work with beaglebone black using matlab

thanks

Sorry, we do not currently support BeagleBone Black, but we are actively investigating it. However, we do support the BeagleBoard with a Simulink Support Package.

what if i have already installed a different version of linux other than the recommended raspbian wheezy???

what if i have already installed a different version of linux other than the recommended raspbian wheezy???

another problem i have a model A raspberry pi??

Could we connect to another display …like tv or LCD

If you already have MATLAB and Simulink installed, you can automatically download and install the Raspberry Pi Support Package for Simulink by clicking the button below.

and if you don’t have MATLAB and simulink installed, then where can you install them. the link should be on this page

Hi Mike,

One could access MATLAB & Simulink for his/her first time by visiting http://www.mathworks.com/products/matlab/

I too attended Maker Faire 2014 in NYC, and stopped by the Mathworks booth. But I didn’t ask about the lack of support for Mac/OS X! Any chance this will be coming along? I saw LOTS of MacBooks in use by the Makers in their booths …

Would it works in older version matlab& simulink r2009b? If not how to make it works with matlab& simulink older version like r2009b?

Kay,

Sorry, but these capabilities were only added after R2009b and there is no way to backport them.

–

Paul

I want to know if it will be possible to dump the matlab code in raspberry pi and disconnect it from the computer. When then Rpi will able to run the code in a stand alone fashion.

Bodhibrata,

It’s currently not possible to run MATLAB locally on the Raspberry Pi. Right now, all the MATLAB support packages are designed for Input/Output workflows where the computation is done on the desktop, and it talks to the pins on the device. So the hardware must be communicating with an active session of MATLAB on a desktop machine.

That said, it is often possible (if you’re a MATLAB-oriented person) to put the computational part of your code in a MATLAB function block in Simulink and then deploy to hardware using the Simulink support package.

Hi everybody,

I have a Matlab/Simulink Installation under Xubuntu, but for this operating system there is no Matlab/Simulink Hardware Support package for the RaspberryPi availible.

Does someone know a workaround?

Why the install can’t read my SD card? My computer can read SD card but not in installing.(use adapter and USB same)(16G SD)

I already solve that .Thank you.