Error after writing SD card when setting up Raspberry Pi 3 B

Hi all,
I tried to to configure the Simulation Support Package for Raspberry Pi Hardware with the Mathworks Raspbian image.
However, after Matlab has written the image to the SD card, I received a Hardware Setup Error with the message "Dimensions of arrays being concatenated are not consistent" when clicking Next to finish the setup.
I tried reformatting the SD card many times with SD Card Formatter but the error keeps persisting. Even running Matlab in Administrator mode does not work.
Any help would be very welcome.
Kind regards,

8 Comments

Hello Trung,
Can you please share the below information?
1) MATLAB version
2) SD card details, manufacturer, size etc
3) Any error/warning message on the MATLAB command line, if any?
4) Did the error message appear after you press "Next" button or just towards the end of writing image?
Thanks,
Prasanth
Hi Prasanth,
  1. The MATLAB version is 2018b as stated on the Release section.
  2. The SD is 16GB from Transcend
  3. There is no other error or warning in MATLAB command line.
  4. The error message appear after pressing "Next" button, after the image was written into the card.
I look forward to hearing from you soon.
I am also facing the same error. My MATLAB version is 2018b and SD card is 16gb sandisk.
I am facing this problem too!! what can cause such errors ?
Hello everyone,
I'm also facing this error with 2018b and the PI 3. I've tried all the solutions that you suggested, but it still doesn't work.
did you finally find other solution for this problem??
Thank you in Advance,
i am also facing the same problem in MATLAB 2018b version. But it is working in MATLAB 2018a.
In 2018b version wireless connection is working. Mobile hotspot is switched on and ssid, password of hotspot is given then it is working

Sign in to comment.

Answers (3)

i was also stucked with same error, but fortunately i got a solution..... the problem was arrising due to some missing system files...... just follow video given in link ..... problem will be solved
video shows how system file cheak can reinstall missing system files.

2 Comments

It didn't work. Chkdisk took about 5 hours as well. Do you have any other solutions? sfc scan did not show any missing sytem files. How is this related to sytem files?
Then only one solution remaining... you may try with wireless network. it works

Sign in to comment.

N/A
N/A on 23 Jun 2019
Edited: N/A on 23 Jun 2019
Hello everyone,
I'm also facing this error with 2018b and the PI 3. I've tried all the solutions that you suggested, but it still doesn't work.
did you finally find other solution for this problem??
Thank you in Advance,

1 Comment

i am also facing the same problem in MATLAB 2018b version. But it is working in MATLAB 2018a.
In 2018b version wireless connection is working. Mobile hotspot is switched on and ssid, password of hotspot is given then it is working

Sign in to comment.

I met the same error when I choose direct connect. I just solved it by clicking 'back' and re-selected 'LAN' mode, then moved on and get everything worked.

Products

Release

R2018b

Asked:

on 12 May 2019

Answered:

on 4 Oct 2021

Community Treasure Hunt

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

Start Hunting!