Rank: 81187 based on 0 downloads (last 30 days) and 0 file submitted
photo

Murat Belge

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Murat Belge View all
Updated File Comments Rating
01 Dec 2014 Simulink Support Package for Raspberry Pi Hardware Credit-card sized, low-cost, single-board computer with audio and video input/output Author: MathWorks Simulink Team

@Lucas:

You can re-compile the generated code with -pg flag if you have an Embedded Coder license. Without an Embedded Coder license, it is not possible to change the build flags.

26 Sep 2014 Simulink Support Package for Raspberry Pi Hardware Credit-card sized, low-cost, single-board computer with audio and video input/output Author: MathWorks Simulink Team

sky1991: Do you have access to MATLAB R2014a? The Rasbian image used in R2013a support package for Raspberry Pi does not support Model B+ boards as this board was not available back then. We recently updated the R2014a support package to support Model B+ boards.

If you do not have access to R2014a MATLAB, you need to load a Raspbian Wheezy image to your board outside of MATLAB and make necessary modifications to the Rasbian image for Simulink compatibility.

Follow the getting started guide for Raspberry Pi to boot your board with Raspbian Wheezy: http://www.raspberrypi.org/help/quick-start-guide/

After booting the board, login to your board using a monitor and a keyboard and execute the following on a Linux shell:

$ sudo apt-get update
$ sudo apt-get install ibsdl1.2-dev alsa-utils espeak x11vnc guvcview i2c-tools libi2c-dev ssmtp ntpdate git-core v4l-utils cmake
$ cp /etc/ssh/sshd_config /home/pi/sshd_config.new
$ echo -e "\\n\\n# Turn off reverse DNS lookup\\nUseDNS no\\n" >> /home/pi/sshd_config.new
$ sudo mv /home/pi/sshd_config.new /etc/ssh/sshd_config

At this point reboot your board:
$ sudo shutdown -r now

After your board boots, launch MATLAB and test connectivity to your board:

>> h = raspberry_pi('<your board's ip address>')
>> h.connect

At this point you should see connection successful message on the MATLAB command line. Once you verify that connection is fine, you can start using your board with Simulink.

05 Sep 2014 Simulink Support Package for Raspberry Pi Hardware Credit-card sized, low-cost, single-board computer with audio and video input/output Author: MathWorks Simulink Team

Version 14.1.2 of the MATLAB Support Package for Raspberry Pi Hardware has been released. The updated support package contains full support for the new Raspberry Pi Model B+ board.

05 Sep 2014 MATLAB Support Package for Raspberry Pi Hardware Acquire data from Camera Board and other sensors connected to your Raspberry Pi Author: MathWorks MATLAB Hardware Team

Version 14.1.2 of the MATLAB Support Package for Raspberry Pi Hardware has been released. The updated support package contains full support for the new Raspberry Pi Model B+ board.

15 Jul 2014 Simulink Support Package for Raspberry Pi Hardware Credit-card sized, low-cost, single-board computer with audio and video input/output Author: MathWorks Simulink Team

Ravikiran: The Raspbian image that comes with Simulink Support Package for Raspberry Pi hardware is customized to work with Simulink features. You can find a comprehensive list of customizations in the comments section below. If you apply these customizations to your existing Raspbian image, you do not need to install our Raspbian image.

Here is the list of customizations:

Following Linux packages are installed on top of the base image: libsdl1.2-dev, alsa-utils, espeak, x11vnc, guvcview, i2c-tools, libi2c-dev, wiringPi, ssmtp, ntpdate.

Following additional modifications have been done:
* Add user "pi" to video group: "sudo usermod -a -G video pi"
* Load i2c module in /etc/modules (add line "i2c-dev")
* Comment out blacklisted items "spi-bcm2708" and "i2c-bcm2708" in /etc/modprobe.d/raspi-blacklist.conf
* Create /etc/modprobe.d/uvcvideo.conf and enable UVCVIDEO quirks
* Enable SSH using raspi-config
* Enable medium level overclocking using raspi-config
* Enable writing IP address configuration to the FAT partition of the SD card
* Enable speaking IP address when the board boots (/etc/rc.local)
* Turn off reverse DNS lookup for SSH (/etc/ssh/sshd_config)
* Set time zone to New York

Contact us