commands for exporting files to be stored into SD card or any external memory?

2 次查看(过去 30 天)
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

采纳的回答

Walter Roberson
Walter Roberson 2015-6-9
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 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by