Matlab table concatenation error

6 次查看(过去 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,

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by