BlockImporter
PrintSummary
print a summary of the system data structure
Calling Sequence
Parameters
Options
Description
Examples
PrintSummary( sys, opts )
sys
-
record; system data
opts
(optional) equation(s) of the form option = value; specify options for the PrintSummary command
compact = truefalse
Specifies how the elements of the fields of the data structure are printed. If true, then all the elements of a field are displayed on one line (which may wrap). If false, then each element is displayed on a separate line. The default is true.
The PrintSummary command prints a summary of a BlockImporter data structure. This command is only for display, it returns NULL.
The sys parameter is a record of the data structure, which is defined in BlockImporter[datastructure].
with⁡BlockImporter:
Create an example of an imported data structure.
sys≔BlockImporter:-Example⁡
sys≔record⁡equations,initialeqs,inputvars,notes,outputvars,parameters,procs,sourceeqs,statevars
Print a summary of the data structure. By default the summary is printed in a compact form.
PrintSummary⁡sys
Equations [24]:
State Variables [3]:
Initial Equations [3]:
Source Equations [2]:
Input Variables [2]:
Output Variables [1]:
Parameters [2]:
u10,1,1=y2,1,1,u2,2,1=y3,1,1,u2,1,1=y4,1,1,u8,1,1=y6,1,1,u9,1,1=y7,1,1,u4,1,1=y8,1,1,u3,1,1=y8,1,1,u11,1,1=y9,1,1,u9,2,1=y10,1,1,u5,1,1=y11,1,1,u8,2,1=y11,1,1,y2,1,1=u2,1,1+u2,2,1,y3,1,1=u3,1,1,D⁡x4,1=u4,1,1,y4,1,1=x4,1,SinkScope,5,1,1=u5,1,1,y6,1,1=SourceStep,6,1,y7,1,1=SourceStep,7,1,y8,1,1=u8,1,1−u8,2,1,y9,1,1=u9,1,1+u9,2,1,D⁡x10,1=−K0,a1⁢x10,1+u10,1,1,y10,1,1=x10,1,D⁡x11,1=−K0,a2⁢x11,1+u11,1,1,y11,1,1=x11,1
x4,1,x10,1,x11,1
x4,1⁡0=0,x10,1⁡0=0,x11,1⁡0=0
SourceStep,6,1=0t<11otherwise,SourceStep,7,1=0t<40.1otherwise
SourceStep,6,1,SourceStep,7,1
SinkScope,5,1,1
K0,a1=2.,K0,a2=1.
Use the compact = false option to print an expanded form.
PrintSummary⁡sys,compact=false
u10,1,1=y2,1,1
u2,2,1=y3,1,1
u2,1,1=y4,1,1
u8,1,1=y6,1,1
u9,1,1=y7,1,1
u4,1,1=y8,1,1
u3,1,1=y8,1,1
u11,1,1=y9,1,1
u9,2,1=y10,1,1
u5,1,1=y11,1,1
u8,2,1=y11,1,1
y2,1,1=u2,1,1+u2,2,1
y3,1,1=u3,1,1
D⁡x4,1=u4,1,1
y4,1,1=x4,1
SinkScope,5,1,1=u5,1,1
y6,1,1=SourceStep,6,1
y7,1,1=SourceStep,7,1
y8,1,1=u8,1,1−u8,2,1
y9,1,1=u9,1,1+u9,2,1
D⁡x10,1=−K0,a1⁢x10,1+u10,1,1
y10,1,1=x10,1
D⁡x11,1=−K0,a2⁢x11,1+u11,1,1
y11,1,1=x11,1
x4,1
x10,1
x11,1
x4,1⁡0=0
x10,1⁡0=0
x11,1⁡0=0
SourceStep,6,1=0t<11otherwise
SourceStep,7,1=0t<40.1otherwise
SourceStep,6,1
SourceStep,7,1
K0,a1=2.
K0,a2=1.
See Also
BlockImporter[datastructure]
BlockImporter[Import]
BlockImporter[SimplifyModel]
Download Help Document