1.总体流程图
2. 代码实现
disp ('Starting processing...');
settings=initSettings();%系统初始化
[fid, message] = fopen('.\GPS.bin', 'rb');%以二进制方式读写bin文件
if (fid >0)
fseek(fid, settings.skipNumberOfBytes, 'bof');%移至文件开头的第settings.skipNumberOfBytes处
%% 捕获============================================================
if ((settings.skipAcquisition == 0) || ~exist('acqResults', 'var'))
% 每1023个CA码采样的数目
samplesPerCode = round(settings.samplingFreq / ...
(settings.codeFreqBasi