[go: up one dir, main page]

Menu

[847d38]: / guisdap.m  Maximize  Restore  History

Download this file

38 lines (37 with data), 932 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
% Script for starting GUISDAP on Windows/Jupyter
%
% Usage:
% Browse to this file from the file explorer
% or from a running Matlab GUI.
%
% *Righ-click* on the icon of this file.
% Select Run.
% Happy Gupping!
%
% mypath='C:\Users\Maria\Documents\guisdap9';
function guisdap(mypath)
disp(mypath)
if ~exist(mypath,'dir')
mypath=fileparts(mfilename('fullpath'));
end
if isempty(which('exiftool.exe'))
winpath=fullfile(mypath,'win');
winall=genpath(winpath);
addpath(winall);
end
if ~exist('start_GUP','file')
addpath(fullfile(mypath,'anal'));
cd(userpath)
end
if exist(fullfile(userpath,'gup','mygup'),'dir')
addpath(fullfile(userpath,'gup','mygup'))
end
try
start_GUP
catch
fprintf('Please edit file or add the path to guisdap9/anal directory like\n%s%sanal\n',mypath,filesep)
end
clear mypath
end
% analyse
% ---