Matlab cannot find SD card - Support Package for Raspberry Pi

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 commentaires

Dear all, I have exactly the same problem During the installation of my Raspberry Pi 2 B, at the “Select a Drive” stage, impossible to select my SD drive. When I click on “Refresh”, the Support Package Installer doesn’t find any SD driver… but Windows (7) well find my SD driver (and I can use it) In that case, it’s possible to copy/past manually all files necessary on my SD card? -> where they are, and what I can do , Thank you in advance Vincent
Error writing firmware to the memory card: An error occurred while opening file, C:\MATLAB\SupportPackages\R2015a\raspbian\raspbian_01_31_2015_v1_1.img: The process cannot access the file because it is being used by another process. How to solve this error ??
If the MicroSD memory card does not get detected by MATLAB, but is detected by the OS - close MATLAB and restart MATLAB as an administrator. To continue with the process, the targetupdater command can be used in MATLAB.
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!!
"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.

Connectez-vous pour commenter.

 Réponse acceptée

Kamil Antos
Kamil Antos le 4 Mai 2015
Problem solved: Start MATLAB using "Run as administrator"

4 commentaires

Running Windoze 7 under Parallels 11, current versions except OSX 10.9.5 on a MBP. I right click and launch Matlab as Admin (get a confirming dialog, "Do you want to allow this program to make changes ..."); insert the sd card in the internal SD card slot, Windows mounts it as the E: drive, but the script does not see it. taskmgr.exe shows Matlab is my process (but I have an admin account), the only other processes are SYSTEM's. Suggestions???
Starting MATLAB using "Run as administrator" helped - thx Kamil!
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 le 30 Juil 2016
Modifié(e) : Ross Savage le 30 Juil 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.

Connectez-vous pour commenter.

Plus de réponses (4)

Fabian Moreno
Fabian Moreno le 2 Juin 2016
Why does matlab needs the SD card? do i have to plug it later into the raspberry or what?

1 commentaire

The SD card will contain the program that is used to communicate between MATLAB and the raspberry

Connectez-vous pour commenter.

Jean-Baptiste Tanguy
Jean-Baptiste Tanguy le 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 commentaire

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

Connectez-vous pour commenter.

Yaser Arafat
Yaser Arafat le 29 Mar 2018
Modifié(e) : Yaser Arafat le 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

1 commentaire

I have applied the changes and i'm successfull in finding sd card
Thanks a lot.

Connectez-vous pour commenter.

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

Catégories

En savoir plus sur MATLAB Support Package for Raspberry Pi Hardware dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by