Can't run stamps(1, 1) on insar master date folder

Hi, I am newbie here. But right now I am doing a research my study. I can’t run stamps(1, 1) eventhough I load stamps and train in matlab. Any helps or suggestion is so much appreciated because I am running out of time.

Here is the log:

>> help stamps

stamps Stanford Method for Persistent Scatterers
stamps(START_STEP,END_STEP,PATCHES_FLAG,EST_GAMMA_FLAG) Default is to run all steps.
A subset of steps may be selected with START_STEP and/or END_STEP
STEP 1 = Initial load of data
STEP 2 = Estimate gamma
STEP 3 = Select PS pixels
STEP 4 = Weed out adjacent pixels
STEP 5 = Correct wrapped phase for spatially-uncorrelated look angle error and merge patches
STEP 6 = Unwrap phase
STEP 7 = Calculate spatially correlated look angle (DEM) error
STEP 8 = Filter spatially correlated noise
STEP 0 = Continue from the last known stage till the end-stage selected

PATCHES_FLAG Default ‘y’. Set to ‘n’ to process all data as one patch

EST_GAMMA_PARM is an optional parameter passed to PS_EST_GAMMA_QUICK

PATCH_LIST_FILE is an optional argument specifying the file list of
patches to be processed. Note that from step 5 and above one should use
all patches to merge results.

If current directory is a single patch, stamps only operates in the
current directory, but if current directory contains many patches,
stamps operates on them all.

Andy Hooper, June 2006

>> help aps_linear

[ph_tropo_linear] = aps_linear(save_path)
Scipt to compute the tropospheric delay map from a linear relation
between phase and topography, optional a non-deforming polygon can be
specified by setting crop_flag to ‘y’ in the parms_aps list.
The computed tropospheric delay is in the same units as the
inputed interferogram phases.

All required inputs will be read from the aps_parm list. This includes:
non_defo_flag ‘y’ or ‘n’ to use a non-deformaing region.
Polygon of the non-deforming area. By default ‘n’ the whole
interferogram is used. Change to ‘y’ by using setparm_aps.
Note that this variable is a matrix with in its columns the
longitude and latitude of the non-deforming area.
hgt_matfile Path to the interferograms
Interferogram phases, given as a column vector or matrix
with in its columens the different interferograms.
Stamps structure will automatically be recognised. Use
setparm_aps so change the data path pointing to the .mat
file.
hgt_matfile Path to the heights file.
Colum vector of the topography.
Stamps structure will automatically be recognised. Use
setparm_aps so change the data path pointing to the .mat
file.
ll_matfile Path to the longitude and latitude file
Matrix with in its columns the longitude and latitude.
Stamps structure will automatically be recognised. Use
setparm_aps so change the data path pointing to the .mat
file. In case the poly argument is specified, both need to
have the same units.

OUTPUTS:
ph_tropo_linear The topography correlated delays either estimated from a
linear relationship over the whole interferogram of using
a non-deforming region. By default the output of this
function is stored in the ‘tca2.mat’ or ‘tca_sb2.mat’
for StaMPS SM and SB option. In case no StaMPs
structure is used the data is saved in ‘tca2.mat’.

Copyright (C) 2015 Bekaert David - University of Leeds
Email: eedpsb@leeds.ac.uk or davidbekaert.com

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Bekaert David - Leeds University 2013
Modifcations:
DB: 04/2013 Include SB functionality for stamps
DB: 04/2013 Uset setparm_aps and getparm_aps to get the processign
parameters
DB: 06/2015 Suppress the output, as its saved anyway.
DB: 01/2016 Include non-Stamps support
DB: 02/2016 Remove inlfuence of NaN’s
DB: 12/2016 Revert to aps_save to allow saving of large variables

>> stamps(1,1)

STAMPS: ########################################
STAMPS: ####### StaMPS/MTI Version 4.0b6 #######
STAMPS: ####### Beta version, Jun 2018 #######
STAMPS: ########################################

ans =

0

STAMPS: Will process patch subdirectories

STAMPS: ########################################
STAMPS: ################ Step 1 ################
STAMPS: ########################################

STAMPS: Directory is PATCH_1

PS_LOAD_INITIAL_GAMMA: Starting
PS_LOAD_INITIAL_GAMMA: Loading data into matlab…

master_master_flag =

‘0’

Error using textscan
Invalid file identifier. Use fopen to generate a valid file identifier.

Error in [readparm](matlab:matlab.lang.internal.introspective.errorDocCallback(‘readparm’, ‘/home/illegear/Downloads/StaMPS-master/matlab/readparm.m’, 19)) ([line 19](matlab: opentoline(‘/home/illegear/Downloads/StaMPS-master/matlab/readparm.m’,19,0)))
parms=textscan(fid,‘%s’);
^^^^^^^^^^^^^^^^^^
Error in [ps_load_initial_gamma](matlab:matlab.lang.internal.introspective.errorDocCallback(‘ps_load_initial_gamma’, ‘/home/illegear/Downloads/StaMPS-master/matlab/ps_load_initial_gamma.m’, 77)) ([line 77](matlab: opentoline(‘/home/illegear/Downloads/StaMPS-master/matlab/ps_load_initial_gamma.m’,77,0)))
heading=readparm(rslcpar,‘heading:’);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in [stamps](matlab:matlab.lang.internal.introspective.errorDocCallback(‘stamps’, ‘/home/illegear/Downloads/StaMPS-master/matlab/stamps.m’, 264)) ([line 264](matlab: opentoline(‘/home/illegear/Downloads/StaMPS-master/matlab/stamps.m’,264,0)))
ps_load_initial_gamma;
^^^^^^^^^^^^^^^^^^^^^