Matlab table concatenation error

조회 수: 2 (최근 30일)
Sarah Yun
Sarah Yun 2019년 12월 13일
댓글: Kojiro Saito 2019년 12월 16일
Hi,
This is an error in my script.
Error using table2array (line 27)
Unable to concatenate the table variables 'ID' and 'temperature', because their types are double and cell.
The error lies in the ID and temperature columns of the textfile because they are type double and cell - different to the other variables in the table.
So Matlab can't concatenate them and produce an output file.
How can I change these two variables in the textfile so Matlab can concatenate - I assume this is the problem?
Kind regards,
  댓글 수: 1
Kojiro Saito
Kojiro Saito 2019년 12월 16일
What are data types of the other variables?

댓글을 달려면 로그인하십시오.

답변 (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