Raspberry Pi B+ Booting Issue for SIMULINK using MATLAB2013a

조회 수: 2 (최근 30일)
sky1991 matlab
sky1991 matlab 2014년 9월 26일
댓글: DinhBa 2015년 4월 17일
Hi friend, I am new to raspberry pi b+ and have followed the instruction by matlab tutorial(Hardware support packge for simulink). But when I boot it it does not work.Power LED blinks only once and then nothing.Firmwre not compatible. Please help me out.
Thanks

답변 (1개)

Murat Belge
Murat Belge 2014년 9월 29일
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.
  댓글 수: 2
sky1991 matlab
sky1991 matlab 2014년 10월 7일
Hi Murat Belge,
I have followed The steps but when I try to connect my board I got this error msg : >> h = raspberry_pi('<192.168.1.41>') Undefined function 'raspberry_pi' for input arguments of type 'char'.
>>
what is missing can you tell?
DinhBa
DinhBa 2015년 4월 17일
ya I got the same problem. I dont know why matlab didnt understand 'raspberry_pi' of 'raspi' function although i had installed raspberry addon. How can i resolve this problem. Please help

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Raspberry Pi Hardware에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by