function C=loadTxt(fn)
% loadTxt <Loads text data line by line into a cell array>
% Usage:: C=loadTxt(file)
%

% revision history:
% 05/04/20 Mark D. Shattuck <mds> loadTxt.m

%% Main

fid=fopen(fn);
s=fgetl(fid);
C=cell(0,1);
n=1;
while ischar(s)
  C{n,1}=s;
  n=n+1;
  s=fgetl(fid);
end
fclose(fid);

