strange output when using writetable function
1 次查看(过去 30 天)
显示 更早的评论
t=table(x,y,ID)
%x,y are vectors, ID is cell array
writetable(t,'Data.xlsx');
I am getting for ID an output which ID_1,ID_2,....ID_6 where each column is having a letter
for example:
699964 appears fully under ID_1
on the other hand,68508C appears
6 8 5 0 8 C
where each digit or letter appears under a different column
Any help is appreciated
3 个评论
Peter Perkins
2016-1-8
Wesso, you are going to have to give a short example of exactly what's in the table. Impossible to guess what's going on otherwise. When I do this for example
t = table([1;2;3],{1; 1:2; 'abc'})
writetable(t,'test.xlsx')
in R2015b, I don't get what you seem to be describing.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!