How to import numerical columns as strings?

2 次查看(过去 30 天)
I am trying to import data from a .tsv file by using tdfread. One of the variables take values like "0000897069-09-001106". Matlab mistakenly imports it as numerical (897069). How can I import it as a string?
  1 个评论
Stephen23
Stephen23 2019-12-9
"How can I import it as a string?"
Import the filedata using textscan, specifying the format yourself.

请先登录,再进行评论。

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by