how to save/write images using for loop in one .mat file
1 回表示 (過去 30 日間)
古いコメントを表示
I want to save file path and roi of 10 images coming from a loop in one .mat file
4 件のコメント
KALYAN ACHARJYA
2020 年 6 月 2 日
Save the images in cell array (multiple_rows,one cloumn), later cell2mat and save?
回答 (1 件)
Rik
2020 年 6 月 2 日
As Ameer suggests: you should share the code, so we can suggest how you can implement indexing.
The point is that your code currently looks like the top block, and should look like the bottom block.
for n=1:10
out=n+rand;%will overwrite
end
out=zeros(1,10);
for n=1:10
out(n)=n+rand;
end
6 件のコメント
参考
カテゴリ
Help Center および File Exchange で Computer Vision with Simulink についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!