Correct syntax for textscan() function
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello there,
Would anybody know the correct syntax to import a column of time values from a text file using the textscan() function. The format of the time values is like this:
12:57:00
15:19:00
08:07:00
10:36:00
Many thanks
0 commentaires
Réponse acceptée
Friedrich
le 13 Fév 2012
Hi,
try %s as format string
out = textscan(fid,'%s')
(fid is the filepointer created by fopen)
4 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Import and Export 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!