While trying to load the Raspberrypi inversion Simulink model on to Raspberry Pi, got the error as seen in the below image. Someone please suggest any solution?

1 view (last 30 days)

Answers (1)

Murat Belge
Murat Belge on 3 Mar 2014
I am guessing that you have run out of space on your Raspberry Pi. Did you expand the file system on the SD card after installing the support package firmware? If you did not do so, do the following:
In MATLAB:
>> h = raspberrypi
>> h.openShell('ssh')
Once the PuTTY shell opens, login with your username and password. On the shell command line:
pi@raspberrypi-H3Lv0JbC7A ~ $ df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 2.6G 2.2G 276M 89% /
/dev/root 2.6G 2.2G 276M 89% /
devtmpfs 180M 0 180M 0% /dev
tmpfs 38M 220K 38M 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 75M 0 75M 0% /run/shm
/dev/mmcblk0p1 56M 19M 38M 34% /boot
Look at how much space is used on rootfs. If it says %99 or something similar, you are running out of disk space. To fix disk space issues, first delete unused files/directories in your home folder (typically /home/pi). You should also try expanding the file system to fill-up your SD card. To do this, execute raspi-config utility on the shell above:
pi@raspberrypi-H3Lv0JbC7A ~ $ sudo raspi-config
You will see an option called "Expand filesystem" on the menu. Pick this item and follow instructions.

Community Treasure Hunt

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

Start Hunting!