The following links include code files and a 'quick user guide' file.
SCPAT (Version 1.1.0) has been successfully tested on MATLAB 2014-2016 versions.
Link to the respective article:
SCPAT: a MATLAB-based toolbox for analysing swath characteristic profiles
Please provide the following reference in your work if you are using SCPAT: