Matlab cannot find SD card - Support Package for Raspberry Pi

4 views (last 30 days)
Hi, I am struggling with installation Support Package for Raspberry Pi process. Matlab cannot find my SD Card even if windows does. I tried internal SD port in my workstation and external one (SD to USB) in all usb ports. Every time I am able to open SD cart, format it, copy and delete files in windows, but Matlab still cannot find SD card. Do you have suggestions?
  5 Comments
Darren Millington
Darren Millington on 5 Feb 2018
The support on here for the issue with Simulink and matlab is rubbish to be honest,it pure guess work with no straight answer. As soon as a new OS update comes through like windows 10 everyting stops working.. this cant be right!!
Walter Roberson
Walter Roberson on 5 Feb 2018
"The support on here for the issue with Simulink and matlab is rubbish to be honest,it pure guess work with no straight answer."
Well, if someone wants to send me an Raspberry Pi... and an SD card of the same make and size (in case make turns out to be important)... and a PC with appropriate hardware slots... and at least 5 times as many hours in the day... and better health... and all the applicable source code...
The volunteers do what they can. For non-rubbish answers you should create a Technical Support case with Mathworks.

Sign in to comment.

Accepted Answer

Kamil Antos
Kamil Antos on 4 May 2015
Problem solved: Start MATLAB using "Run as administrator"
  4 Comments
Raymond Chiu
Raymond Chiu on 13 Apr 2016
Running as administrator resolved GUI not finding SD card on R2016A Win7. Not exactly sure when (version) when running as admin became necessary.
Ross Savage
Ross Savage on 30 Jul 2016
Edited: Ross Savage on 30 Jul 2016
Leaving the Support Package Installer running, restarting the main Matlab window (as administrator) and running the "targetupdater" command did the trick for me. Thanks to Daron Berger.

Sign in to comment.

More Answers (4)

Fabian Moreno
Fabian Moreno on 2 Jun 2016
Why does matlab needs the SD card? do i have to plug it later into the raspberry or what?
  1 Comment
Walter Roberson
Walter Roberson on 2 Jun 2016
The SD card will contain the program that is used to communicate between MATLAB and the raspberry

Sign in to comment.


Jean-Baptiste Tanguy
Jean-Baptiste Tanguy on 24 Oct 2016
Good evening, I got the same problem with the SD card on Matlab. Matlab couldn't find my SD Card even if windows did. So, I runned Matlab as administrator and Matlab detected my SD card. But, it isn't possible to write on it, I got this error : "Error writing firmware to the memory card: An error occurred while locking the SD card volume. An error occurred while unlocking the SD card volume". Meanwhile, my SD card is unlocked, so I don't understand.
  1 Comment
reenarosilin raj
reenarosilin raj on 10 Feb 2017
Hi i have problem in installing support package Error writing firmware to the memory card: An error occurred while writing to the SD card. The system cannot find the file specified.can an one tell how to rectify

Sign in to comment.


Yaser Arafat
Yaser Arafat on 29 Mar 2018
Edited: Yaser Arafat on 29 Mar 2018
that problem occurs if wmic is not found. Try following steps
1. right click on my computer and go to properties.
2. click on advance system setting and open environment variable
3. Create new system variable name "path" and variable path "C:\Windows\System32\wbem;"
4. Restart your system and retry the Raspberry Pi settings from MATLAB-->manage add-on option

michael pak
michael pak on 24 Jan 2019
I am running matlab as admin and still nothing shows up when trying to locate the SD, what do i do?

Categories

Find more on Raspberry Pi Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!