Clear Filters
Clear Filters

Matlab table concatenation error

6 views (last 30 days)
Sarah Yun
Sarah Yun on 13 Dec 2019
Commented: Kojiro Saito on 16 Dec 2019
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,

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!