error in reading csv file
显示 更早的评论
Hello everyone,
I have a problem ( as shown in the figure) in reading csv file using readtable function. the coulmon of the time in csv file is written as 455.33.22 it means 4553322 seconds.
Thanks in advance.

Ragrds,
Ayman
回答(1 个)
Jan
2021-3-14
0 个投票
Use the 'Format' option of readtable to import the time as string. Then remove the dots with strrep and convert the rest to a number.
类别
在 帮助中心 和 File Exchange 中查找有关 Text Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!