commands for exporting files to be stored into SD card or any external memory?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
amira hl
am 9 Jun. 2015
Beantwortet: Walter Roberson
am 9 Jun. 2015
hi
i made some changes in an image and then used imwrite(im,'new.bmp') to create the new modified image, now i have to write the commands that send that image from the directory file to SD card inserted in my laptop, how can i do that??
thank you
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 9 Jun. 2015
SD cards are just mounted filesystems. You find the name (e.g., drive letter) and you construct a full path to the destination location and you either imwrite() there directory or you copyfile()
foodir = fullfile('E:', 'saved_images', 'yankle');
foofile = fullfile(foodir, 'out17.jpg');
copyfile('out17.jpg', foofile);
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Particle Swarm finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!