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

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.

댓글을 달려면 로그인하십시오.

 채택된 답변

Kamil Antos
Kamil Antos 2015년 5월 4일

1 개 추천

Problem solved: Start MATLAB using "Run as administrator"

댓글 수: 4

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 2016년 7월 30일
편집: Ross Savage 2016년 7월 30일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (4개)

Fabian Moreno
Fabian Moreno 2016년 6월 2일

0 개 추천

Why does matlab needs the SD card? do i have to plug it later into the raspberry or what?

댓글 수: 1

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

댓글을 달려면 로그인하십시오.

Jean-Baptiste Tanguy
Jean-Baptiste Tanguy 2016년 10월 24일

0 개 추천

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

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

댓글을 달려면 로그인하십시오.

Yaser Arafat
Yaser Arafat 2018년 3월 29일
편집: Yaser Arafat 2018년 3월 29일

0 개 추천

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

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

댓글을 달려면 로그인하십시오.

michael pak
michael pak 2019년 1월 24일

0 개 추천

I am running matlab as admin and still nothing shows up when trying to locate the SD, what do i do?

카테고리

도움말 센터File Exchange에서 MATLAB Support Package for Raspberry Pi Hardware에 대해 자세히 알아보기

태그

질문:

2015년 4월 29일

댓글:

2019년 5월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by