forked from NISOx-BDI/SwE-toolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
swe_run_results.m
24 lines (20 loc) · 900 Bytes
/
swe_run_results.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
function swe_run_results(varargin)
% Harvests job structure to display results stored in SwE.mat.
% =========================================================================
% FORMAT: swe_run_results(job)
% -------------------------------------------------------------------------
% Inputs:
% - job: harvested job data structure (see matlabbatch help)
% =========================================================================
% Written by Tom Maullin (05/09/2018)
% Version Info: $Format:%ci$ $Format:%h$
% Job variable
% -------------------------------------------------------------------------
job = varargin{1};
% Change directory to directory containing SwE structure
% -------------------------------------------------------------------------
cd(fileparts(job.dis{1}));
% Display results.
% -------------------------------------------------------------------------
swe_results_ui;
end