我有一个包含这样行的文件(前两行,每行 25 列):
1921.300 . . < 0.030 . . . . . 550 1.6 1 Mrr1922 Jm 5 1973.220 158. 3. 0.240 0.002 . . 1.5 0.5 620 5.1 1 Lab1974 S 4
和描述(例如前 4 列):
term columns format description
date 008-017 f10.5 Observation date, in years.
tflag 019-019 a1 Flag for theta (position angle) measure. Flags
include:
: = uncertain/estimated (old code U)
L = originally published as nf, sp, etc.
(old code L)
Q = quadrant flipped 180deg from published value
(old code Q)
V = measure is vector separation along this angle
vector (previously used only in
interferometric catalog)
theta 020-026 f7.3 position angle, in degrees
terr 028-033 f6.3 published formal theta error, in degrees
etc.
-----------------------------------------------------------------------------
如何在 Matlab 中读取此文件?我没有分隔符(只有位置和格式)。基本的想法是在我的 SQLite 数据库中读取这个文件,但是(如果我正确的话)SQLite 只适用于分隔符。