storing a folder as mat file

1 visualizzazione (ultimi 30 giorni)
Max
Max il 7 Ott 2011
i have around 30 mri scans in .tif format in a folder.i need to store these images in .mat format that folder so that its easy to access the images. please suggest the matlab codes for doing it

Risposta accettata

Andreas Goser
Andreas Goser il 7 Ott 2011
I'd say the following 3 commands do it:
DIR for returning the filename you want to read
IMREAD to read a file at a time
SAVE to save a MAT

Più risposte (0)

Categorie

Scopri di più su File Operations in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by