What are data types of the other variables?
Matlab table concatenation error
2 次查看(过去 30 天)
显示 更早的评论
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 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!