Hello,
The following script loads all the files. The example of data is attached. I want to extract data for specific row and col for all the files i have (i.e., SM1,SM2,SM3,SM3). So i want code at commented place below in the script.
FileInfo=dir('SM*.mat');for k= 1:length(FileInfo) fileName=['SM' num2str(k)]; dataStruct.(fileName)=load([fileName '.mat']); % This the place i want to have the way of extracting a pixel for all matfiles.
end
Thanks
Best Answer