-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDisplayUserUpdate.m
More file actions
40 lines (35 loc) · 1.14 KB
/
DisplayUserUpdate.m
File metadata and controls
40 lines (35 loc) · 1.14 KB
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
38
39
40
function DisplayUserUpdate(varargin)
% -------------------------------------------------------------------------
% SwanVLM
% Version 5 (EXPORT)
% April 2009
% Copyright (C) 2008, 2009 Chris Walton (368404)
% DisplayUserUpdate.m: A set of standard user update messages called during
% the program run.
% -------------------------------------------------------------------------
switch nargin
case 1
switch varargin{1}
case 1
fprintf('\nReading Configuration...\n');
case 2
fprintf('\b COMPLETE\n');
fprintf('Generating Mesh...\n');
case 3
fprintf('\b COMPLETE\n');
fprintf('Generating Influence Matrix/Alpha Sweeping\n');
case 4
fprintf('\b COMPLETE\n');
fprintf('Post Processing...\n')
case 6
fprintf('\nFile does not exist!\n\n');
case 7
fprintf('\b COMPLETE\n');
end
case 2
switch varargin{1}
case 5
disp(sprintf('Task complete. Results saved in %s', varargin{2}));
end
end
end