MATLAB: Hi, i have a .mat file and i have images in that file. i need to view the each image.

image processingImage Processing Toolbox

I have received one file with .mat format and i need to view the images in it. could anyone please help me?

Best Answer

The reply "testdata = 1x67 struct array" reveals, that a struct array is replied. So please try:
storedStructure = load(fullMatFileName)
for ii = 1:numel(storedStructure)
figure; % Open a new figure
image(storedStructure(ii).image);
end