How i can write glcm features in matlab to excel sheet?
3 views (last 30 days)
I have calculated the glcm features (contrast ,homogeneity,energy,correlation), but how i can write only values of these features to excel sheet ?.
These values are in a table , and I want to write these values using xlswrite function in range (B2:E2), in other words i want to write (only stats values to this range) without column names or headers.
Ramnarayan Krishnamurthy on 21 Jun 2019
I would suggest using "writetable" and setting the "WriteVariableName" argument to false to accomplish this.
Assuming 'stats' is the output structure from "graycoprops" :
writetable(struct2table(stats), 'stats_glcm'.xlsx', 'WriteVariableNames', false)