how to save/write images using for loop in one .mat file
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I want to save file path and roi of 10 images coming from a loop in one .mat file
4 Kommentare
KALYAN ACHARJYA
am 2 Jun. 2020
Save the images in cell array (multiple_rows,one cloumn), later cell2mat and save?
Antworten (1)
Rik
am 2 Jun. 2020
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 Kommentare
Siehe auch
Kategorien
Mehr zu Computer Vision with Simulink finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!