how to write data from workspace to excel?

i am using STATS,regionprops to find features. what i need is to save that STATS to a excel file and read it. or otherwise it should be used directly in ANFIS as test data.

 採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 3 月 9 日
編集済み: Azzi Abdelmalek 2013 年 3 月 9 日

0 投票

4 件のコメント

Walter Roberson
Walter Roberson 2013 年 3 月 9 日
You might also want to use struct2cell() to convert the regionprops structure a cell array.
rakesh r
rakesh r 2013 年 3 月 11 日
sir, i tried with struct2cell() and it worked. we will get it column wise. can i have the same row wise. in case of centroid we are having both x coordinate and y coordinate . so it is coming as NAN. what to do with that ?
Image Analyst
Image Analyst 2013 年 3 月 11 日
The apostrophe ' is the transpose operator. Can you use that to flip your array?
rakesh r
rakesh r 2013 年 3 月 12 日
sir,what about the centroid x and y coordinate. It is coming as coordinates ie. as[x,y].What i need is to get it seperately ,in different cells.

サインインしてコメントする。

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by