I need to scan a text with variable number of coloumns

1 回表示 (過去 30 日間)
OldCar
OldCar 2016 年 4 月 13 日
Hello, I need to scan a text with a variable number of cloumns. I have a counter, nTarget and I know that the coloumns are 3xnTarget so I would like to write something like dati = textscan(fid,'%7f'); repeating %7f for 3xnTarget times (there are other data then to collect. Many thanks
  1 件のコメント
Muhammad Usman Saleem
Muhammad Usman Saleem 2016 年 4 月 13 日
upload your text file please

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeText Files についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by