フィルターのクリア

How to export a DataMatrix to excel ???

4 ビュー (過去 30 日間)
Jeff
Jeff 2013 年 9 月 28 日
回答済み: Jeff 2013 年 9 月 28 日
Hi can someone help with this? I would like to export this DataMatrix to excel that includes the metadata created.
x1=[10 8 10]'; x2=[30 29 45]'; x3=[40 15 85]'; x4=[3 2 8]';
x=[x1,x2,x3,x4]
import bioma.data.*; z=DataMatrix(x); z = set(z,'Name','ParentCountry'); z = set(z,'ColNames','Parent'); z = set(z,'RowNames','Time');
xlswrite('C:\matlab\excel\test.xls', z ,'parent','A1');

採用された回答

Jeff
Jeff 2013 年 9 月 28 日
just found this, seems like text is the only option
dmwrite(z,'C:\matlab\excel\test.txt');

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Import and Management についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by