필터 지우기
필터 지우기

strange output when using writetable function

조회 수: 2 (최근 30일)
wesso Dadoyan
wesso Dadoyan 2016년 1월 7일
댓글: Peter Perkins 2016년 1월 8일
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
wesso Dadoyan
wesso Dadoyan 2016년 1월 8일
No
Peter Perkins
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 CenterFile Exchange에서 Tables에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by