Problems exporting from matlab to exel

2 ビュー (過去 30 日間)
Lev Mihailov
Lev Mihailov 2019 年 11 月 25 日
回答済み: Andrei Bobrov 2019 年 11 月 25 日
AV = {'1 nord', '2 ott','3 teta(double)' , '4 gama ','5 val(single)', '6 teta2( uint16 ) '};
AVt=rand(10000, 6)
AVtNord=[AV;A];
xlswrite('C:\tetaAVT.xlsx',AVtNord)
%
Error in untitled (line 3)
AVtNord=[AV;A];
Error using vertcat
Dimensions of arrays being concatenated are not consistent. Consider converting input arrays to
the same type before concatenating.
Help solve this problem, I need to export data to Excel (with explanations), how can I fix such an error?

回答 (1 件)

Andrei Bobrov
Andrei Bobrov 2019 年 11 月 25 日
AVtNord=[AV;num2cell(A)];

カテゴリ

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