git clone https://github.com/geodesymiami/GeodMod.git
Add the following to your ~/.cshrc:
alias matlab '/Applications/MATLAB_R2017a.app/bin/matlab' #adjust for your own version
setenv GEODMOD_HOME ~/development/matlab/GeodMod
setenv GEODMOD_TESTDATA ~/insarlab/test/geodmod
setenv GEODMOD_TESTBENCH ~/insarlab/test/geodmod_testbench
Add the following to your startup.m file for Matlab to initiate the configuration:
%% Setting for GeodMod
disp('Setting paths for geodmod...')
run( [ getenv('GEODMOD_HOME') filesep 'addpath_geodmod'] )
Start matlab program from terminal to initiate the environment variables defined above.
matlab
>>geodmod Darwin.min