how can i read a stack of images which are in .mat format into my matlab program

I put it into my workspace, but it says cannot display summaries of variables with more than 524288 elements.
now i have a small program, i want to use my program to enhancement these 40 MRI images.
I am new to matlab, could you please show me step by step how can i read into these 40 .mat format MRI images into my program. thanks a lot for your help

1 Comment

How do imagine viewing an array with more than half a million elements will be useful?

Sign in to comment.

Answers (1)

Here is a good answer with examples on processing a sequence of files in a loop: https://www.mathworks.com/matlabcentral/answers/57446-faq-how-can-i-process-a-sequence-of-files
The load function would be useful to work with .mat files.
The error 'Cannot display summaries of variables with more than 524288 elements." is expected behavior to limit the spike in memory usage of MATLAB.

Categories

Asked:

on 19 Jul 2017

Answered:

on 21 Jul 2017

Community Treasure Hunt

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

Start Hunting!