채택된 답변

Walter Roberson
Walter Roberson 2016년 9월 27일

0 개 추천

save('NameOfMatFile.mat', 'MEAN', 'SD', 'ENTROPY', 'RMS' and so on)
This assumes that you have stored the value you labelled MEAN in a variable named MEAN .
If you have a bunch of uicontrol edit boxes then it is possible to extract their String properties and save those, but since you are extracting features from an image you have already calculated those into variables and you might as well save the numeric variables directly.

댓글 수: 6

This helps me but I want it to save as one file not as individual. Like, the mean,sd,entropy ... will save in one mat file. ( Like the image below but in .mat file )
The way Walter showed you will save it as one mat file. All the variables you list will be in that same mat file. Try it and see. Use load() to read them back out of the mat file.
I load it and this is the result.
But I want to happen is like this.
hema purad
hema purad 2017년 1월 12일
hi thank you for your answer
Loop over the blobs or images, for each construct a row vector of the properties you want in the order you want. Use each of those row vectors as a row in a matrix. At the end, save the matrix.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by