%% Read Raw Data From FITS File
% Read primary data from a FITS file as raw data.

data = fitsread('tst0012.fits', 'raw');

% Examine the output variable data.

whos data

% Copyright 2020 The MathWorks, Inc.