📄 demo.mdl
字号:
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Gain
Name "Gain1"
Position [140, 355, 170, 385]
DropShadow on
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [135, 430, 165, 460]
DropShadow on
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain3"
Position [100, 25, 130, 55]
DropShadow on
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain4"
Position [85, 205, 115, 235]
DropShadow on
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain5"
Position [370, 50, 400, 80]
DropShadow on
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Ground
Name "Ground"
Position [430, 390, 450, 410]
DropShadow on
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [220, 381, 225, 419]
DropShadow on
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [465, 56, 470, 94]
DropShadow on
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [590, 266, 630, 324]
DropShadow on
Location [188, 390, 512, 629]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [590, 156, 630, 214]
DropShadow on
NamePlacement "alternate"
Location [188, 390, 512, 629]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Sin
Name "Sine Wave"
Ports [0, 1]
Position [390, 170, 420, 200]
DropShadow on
NamePlacement "alternate"
SineType "Time based"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [525, 175, 545, 195]
DropShadow on
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Out1"
Position [270, 393, 300, 407]
DropShadow on
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out2"
Position [170, 483, 200, 497]
DropShadow on
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out3"
Position [510, 393, 540, 407]
DropShadow on
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out4"
Position [595, 453, 625, 467]
DropShadow on
Port "4"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out5"
Position [175, 33, 205, 47]
DropShadow on
Port "5"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out6"
Position [175, 83, 205, 97]
DropShadow on
Port "6"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out7"
Position [230, 188, 260, 202]
DropShadow on
Port "7"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out8"
Position [230, 238, 260, 252]
DropShadow on
Port "8"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out9"
Position [525, 68, 555, 82]
DropShadow on
Port "9"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
Name "xian "
Labels [2, 0]
SrcBlock "Constant1"
SrcPort 1
Points [0, 0; 90, 0]
Branch {
Labels [1, 0]
DstBlock "Scope"
DstPort 1
}
Branch {
Labels [1, 0]
DstBlock "Sum"
DstPort 2
}
}
Line {
Name "2"
Labels [0, 0]
SrcBlock "Gain"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Scope1"
DstPort 1
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [15, 0; 0, 20]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [20, 0; 0, -35]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "In3"
SrcPort 1
DstBlock "Out2"
DstPort 1
}
Line {
SrcBlock "Ground"
SrcPort 1
DstBlock "Out3"
DstPort 1
}
Line {
SrcBlock "In4"
SrcPort 1
DstBlock "Discrete-Time\nIntegrator"
DstPort 1
}
Line {
SrcBlock "Discrete-Time\nIntegrator"
SrcPort 1
DstBlock "Out4"
DstPort 1
}
Line {
SrcBlock "In5"
SrcPort 1
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Out5"
DstPort 1
}
Branch {
Points [0, 50]
DstBlock "Out6"
DstPort 1
}
}
Line {
SrcBlock "In6"
SrcPort 1
DstBlock "Gain4"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [20, 0; 0, -15]
DstBlock "Out7"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [20, 0; 0, 15]
DstBlock "Out8"
DstPort 1
}
Line {
SrcBlock "In7"
SrcPort 1
DstBlock "Gain5"
DstPort 1
}
Line {
SrcBlock "Gain5"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Mux1"
DstPort 1
}
Branch {
Points [0, 20]
DstBlock "Mux1"
DstPort 2
}
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Out9"
DstPort 1
}
Annotation {
Name "Description \nof module"
Position [629, 243]
FontName "Arial"
FontSize 14
FontWeight "bold"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -