-
Notifications
You must be signed in to change notification settings - Fork 9
/
amt.m
34 lines (31 loc) · 900 Bytes
/
amt.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
25
26
27
28
29
30
31
32
33
34
function [] = amt(functionName)
% amt displays a help window with documenation for Antarctic Mapping Tools functions.
%
%% Syntax
%
% amt
% amt functionName
%
%% Description
%
% amt typing amt into the command window opens a Help menu with a list of functions available
% in the Antarctic Mapping Tools package.
%
% amt functionName specifies a function name for which you'd like to view documentation.
%
%% Author Info
% This function was written by Chad A. Greene of the University of Texas at Austin
% Institute for Geophysics (UTIG), February 2017.
% http://www.chadagreene.com
%
% See also: help and showdemo.
try
showdemo(strcat(functionName,'_documentation'));
catch
if nargin==1
disp(['Cannot find documentation for an AMT function called ',functionName,'.'])
disp('Opening the AMT Contents page.')
end
showdemo('List_of_Functions')
end
end