Read specific data value

3 次查看(过去 30 天)
joo tan
joo tan 2012-9-13
Dear all
i have a file with has 3 column. I have problem to read second column.The example of second is like below;
2006-03-08T12:00
I just need value 12 (five and six last digit)..How i can solve it?
  2 个评论
Azzi Abdelmalek
Azzi Abdelmalek 2012-9-13
five and six last digit? can you explain?
joo tan
joo tan 2012-9-13
i meant, if we see 4 last digit is 12:00..i just need to number 12..

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2012-9-13
YourString(end-4:end-3)

类别

Help CenterFile Exchange 中查找有关 Workspace Variables and MAT-Files 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by