フィルターのクリア

Correct syntax for textscan() function

2 ビュー (過去 30 日間)
John
John 2012 年 2 月 13 日
編集済み: Laura Pop 2013 年 10 月 9 日
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

採用された回答

Friedrich
Friedrich 2012 年 2 月 13 日
Hi,
try %s as format string
out = textscan(fid,'%s')
(fid is the filepointer created by fopen)
  4 件のコメント
John
John 2012 年 2 月 13 日
Thanks very much
John
John 2012 年 2 月 13 日
Hello,
One more question, if you don't mind?
How would I convert the array of values to a vector to I could import the data into the dfitool.
Thanks again

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Import and Export についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by