Effacer les filtres
Effacer les filtres

Matlab table concatenation error

6 vues (au cours des 30 derniers jours)
Sarah Yun
Sarah Yun le 13 Déc 2019
Commenté : Kojiro Saito le 16 Déc 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,
  1 commentaire
Kojiro Saito
Kojiro Saito le 16 Déc 2019
What are data types of the other variables?

Connectez-vous pour commenter.

Réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by