Skip to content

sysinfo.m

Basic Information

  SYNTAX:  [type,noutput,ninput,nstates] = sysinfo(system,debug)

  PURPOSE:  Provide information about the system contained in a Control
    Toolbox system object.  Works for system and ordinary matrix objects.

  INPUT:
    system = system in Control Toolbox packed format, or matrix
    debug  = if 1, you get printed info

  OUTPUT:
    type    = either 'syst' or 'cons'
    noutput = number of outputs
    ninput  = number of inputs
    nstates = number of states (0 for matrix)

Dependencies