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.
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.