DynamicSystems - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Dynamic Systems : System Object : DynamicSystems/PrintSystem

DynamicSystems

  

PrintSystem

  

print the content of a system object

 

Calling Sequence

Parameters

Options

Description

Examples

Calling Sequence

PrintSystem( sys, opts )

Parameters

sys

-

System; system object to print

opts

-

(optional) equation(s) of the form option = value; specify options for the PrintSystem command

Options

• 

compact = truefalse

  

Specifies how the model expression members are printed. If true, then each member is displayed in matrix format. If false, then each component of each matrix is displayed on a separate line. It has no effect with de systems, which do not use Matrices. The default is false.

• 

interface = Standard or Classic

  

Specifies the format of the output. If Standard, the printed output is suited for the Standard interface. If Classic, the printed output is suited for either the Classic or tty interface. The default is appropriate for the interface.

• 

uselabels = truefalse

  

Specifies whether labels %1, %2, etc., are used to represent common terms. Only used in the Standard interface. The default is false.

• 

maxlength = nonnegint or infinity

  

Specifies the length use to break expressions. Only used with the Standard interface. The default is 120.

Description

• 

The PrintSystem command prints the content of sys, a system object.

Examples

withDynamicSystems:

sys1NewSystem

sys1:=Algebraic Equationcontinuous1 output(s); 1 input(s)inputvariable=utoutputvariable=yt

(1)

PrintSystemsys1

Algebraic Equationcontinuous1 output(s); 1 input(s)inputvariable=utoutputvariable=ytae=yt=ut

(2)

sys2NewSystemss3+5s2+7s+6

sys2:=Transfer Functioncontinuous1 output(s); 1 input(s)inputvariable=u1soutputvariable=y1s

(3)

PrintSystemsys2

Transfer Functioncontinuous1 output(s); 1 input(s)inputvariable=u1soutputvariable=y1stf1,1=ss3+5s2+7s+6

(4)

tf_mimo_zMatrix1z2,z2z3+5z2+7z+6,1z,cz2+az+b

tf_mimo_z:=1z2z2z3+5z2+7z+61zcaz+z2+b

(5)

sys3NewSystemtf_mimo_z,discrete,sampletime=0.001,systemname=Sample discrete MIMO system

sys3:=Transfer Functiondiscrete; sampletime = .1e-2systemname=Sample discrete MIMO system2 output(s); 2 input(s)inputvariable=u1z,u2zoutputvariable=y1z,y2z

(6)

PrintSystemsys3

Transfer Functiondiscrete; sampletime = .1e-2systemname=Sample discrete MIMO system2 output(s); 2 input(s)inputvariable=u1z,u2zoutputvariable=y1z,y2ztf1,1=1z2tf2,1=1ztf1,2=z2z3+5z2+7z+6tf2,2=cz2+az+b

(7)

PrintSystemsys3,compact

Transfer Functiondiscrete; sampletime = .1e-2systemname=Sample discrete MIMO system2 output(s); 2 input(s)inputvariable=u1z,u2zoutputvariable=y1z,y2ztf=1z2z2z3+5z2+7z+61zcz2+az+b

(8)

See Also

DynamicSystems

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam