How to save 4 images in 4 sub folders in the directory
1 回表示 (過去 30 日間)
古いコメントを表示
I want to save 4 different images 4 different sub folders in directory using fullfile command . how to give command in matlab
0 件のコメント
回答 (2 件)
Image Analyst
2013 年 10 月 11 日
baseFileName1 = 'image1.png'
folder1 = 'd:\images1';
fullFileName = fullfile(folder1, baseFileName1);
imwrite(yourImageArray, fullFileName);
% Repeat for files and folders 2, 3, and 4.
0 件のコメント
Azzi Abdelmalek
2013 年 10 月 11 日
file1=fullfile(sub_folder1,filename1)
imwrite(im1,file1)
% Do the same for the other files
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!