how to export multiple matlab variable outputs to excel sheet?

11 ビュー (過去 30 日間)
mahesh chathuranga
mahesh chathuranga 2014 年 5 月 7 日
回答済み: Roberto 2014 年 5 月 7 日
I have number of data sets and each data set gives 5 output values(NDVImean,NDVImin,dNDVI,t,sen) I attached a excel sheet for one data set output.The multiple data sets are read by program via loop.I want get every data sets output in a one excel sheet.(row to next row in excel sheet).How to do it ?please help me.thanks!

回答 (1 件)

Roberto
Roberto 2014 年 5 月 7 日
try to put all your variables in a cell for example! an then use the xlswrite command,
varCell{1} = var1 ;
varCell{2} = var2 ;
xlswrite('myfile.xlsx',vaCell);
or something like it!.

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by