Format a SD card using MATLAB
1 view (last 30 days)
Show older comments
Hi all,
do you know if it is possible to format an SD card from MATLAB?
Thanks in advance.
0 Comments
Accepted Answer
Jan
on 9 Apr 2019
Edited: Jan
on 9 Apr 2019
There are smarter ways to format an SD-card, see https://www.easeus.com/partition-manager-software/format-sd-card-using-windows-cmd-and-formatter.html , but this works through the system command also, e.g. under Windows:
system('format I: /fs:FAT32 /a:1024 /q /x /v:MySDCard')
Open a command shell of the operating system and type:
format /?
to learn more.
ATTENTION: This will kill the contents of the drive mounted as "I:" currently. Be careful!
More Answers (0)
See Also
Categories
Find more on Environment and Settings 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!