Effacer les filtres
Effacer les filtres

Read specific data value

2 vues (au cours des 30 derniers jours)
joo tan
joo tan le 13 Sep 2012
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 commentaires
Azzi Abdelmalek
Azzi Abdelmalek le 13 Sep 2012
five and six last digit? can you explain?
joo tan
joo tan le 13 Sep 2012
i meant, if we see 4 last digit is 12:00..i just need to number 12..

Connectez-vous pour commenter.

Réponses (1)

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

Catégories

En savoir plus sur Workspace Variables and MAT-Files dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by