Mercurial > hg > octave-nkf
annotate scripts/control/sysgettsam.m @ 3213:ba1c7cdc6090
[project @ 1998-11-06 16:15:36 by jwe]
author | jwe |
---|---|
date | Fri, 06 Nov 1998 16:16:31 +0000 |
parents | |
children | dbcc24961c44 |
rev | line source |
---|---|
3213 | 1 function T = sysgettsam(sys) |
2 # T = sysgettsam(sys) | |
3 # return the sampling time of the system | |
4 | |
5 # $Revision: 1.3 $ | |
6 # $Log: sysdimensions.m,v $ | |
7 # Revision 1.3 1997/03/10 21:35:13 scotte | |
8 # added debugging code (commented out) | |
9 # | |
10 # Revision 1.2 1997/03/10 20:42:27 scotte | |
11 # added warning message about nargout | |
12 # | |
13 | |
14 if(!is_struct(sys)) | |
15 usage("T = sysgettsam(sys)"); | |
16 endif | |
17 | |
18 T = sys.tsam; | |
19 | |
20 endfunction |