%mat_view % %Routine to view already saved generating matrices or group elements. %Matrices to be shown can be selected from a dialog box and are shown %in the command window. % %Valentin Zauner % %05.2008 clear all; close all; clc; names = uigetfile('*.mat','Multiselect','on'); if ~iscell(names)%convert 'names' to cell if only 1 single matrix is selected names = {names}; end; for k = 1:numel(names) M = struct2cell(load(names{k})); M = M{1}; disp([names{k}(1:end-4),' =']); disp(M); disp(' '); end;