As noted by previous posts the .mat files produced by SWAN appear to be only compatible with
MATLAB itself. I tried reading the files with several software packages including IDL, Octave, Pyhton using scipy
but always got errors. This happens also with the latest SWAN release (40.91).
Here are some of the reading commands I tried
tried also v7 and v6 options
import scipy.io as sio
a = sio.loadmat(SWANOUT.mat\")