How do I specify the datatype for readcell?
Afficher commentaires plus anciens
I have a large text file filled with part numbers that I want to read into MatLab. When using the command, I get a cell array, which makes sense.
Unfortunately, some of the part numbers follow a XX-XX-XXXX` format, and MatLab reads those ones in as datatime values rather than character arrays, so I have a cell array filled with character arrays and a few datetimes. Is there a way to specify that all of the cells should be filled with character arrays?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Data Preprocessing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!