Montage appears not to work
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi. I have a directory with 28 images in of format that I want to montage. I have read the help and searched on line, but still i cannnot get it to work.
fileFolder='C\Temp2'
dirOutput = dir(fullfile(fileFolder,'*.tif'));
fileNames = {dirOutput.name};
figure
montage(fileNames, 'Size', [4 7]);
The naming of the images is illustrated below.

Can anyone suggest how to get it to work. the error message is "FILENAMES must be a cell array of strings."
could I also ask if there is a way to use the montage function but in a zigzag manner?
thanks Jason
4 commentaires
Réponses (0)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!