how to extract and store features which are stored in an excel sheet into mat file?

1 view (last 30 days)
I have stored GLCM features(for folder of images) into an excel sheet.. how to extract excel sheet features into a mat file?here is my code... for i = 1:num_pages
fprintf('Processing page No: %d\n', i);
% load the image from the directory
I = double(rgb2gray(imresize((imread(strcat(dir_in,file_names{i}))),[256 256])))
gf=graycomatrix(I);
glcm=graycoprops(gf);
Features=zeros(1,4);
Features(1,:)=struct2array(glcm);
filename='G:\matlab2013\Crack\bin\CODES\Features.xlsx';
xlswrite(filename, Features(1,:),'sheet1',['A' num2str(i) ':' 'D' num2str(i)])

Answers (0)

Community Treasure Hunt

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

Start Hunting!