view scripts/control/sysgettsam.m @ 3228:dbcc24961c44

[project @ 1998-12-09 18:42:12 by jwe]
author jwe
date Wed, 09 Dec 1998 18:42:13 +0000
parents ba1c7cdc6090
children 28aba52a2368
line wrap: on
line source

function T = sysgettsam(sys)
# T = sysgettsam(sys)
# return the sampling time of the system

# $Revision: 2.0.0.0 $

if(!is_struct(sys))
  usage("T = sysgettsam(sys)");
endif

T = sys.tsam;

endfunction