📄 fractional_6.mdl
字号:
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [180, 60, 215, 100]
SampleTime "-1"
}
Block {
BlockType Outport
Name "out1"
Position [370, 28, 400, 42]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "Unit Delay"
DstPort 1
}
Branch {
Points [0, -45]
DstBlock "Sum"
DstPort 1
}
}
Line {
SrcBlock "Unit Delay"
SrcPort 1
Points [90, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "[1 -2 1]"
Ports [1, 1]
Position [490, 155, 580, 195]
TreatAsAtomicUnit on
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "[1 -2 1]"
Location [264, 271, 689, 491]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In"
Position [15, 48, 45, 62]
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "Gain"
Position [215, 40, 245, 70]
FontName "Helvetica"
Gain "-2"
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [315, 65, 345, 95]
ShowName off
IconShape "round"
Inputs "+++"
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [110, 35, 145, 75]
SampleTime "-1"
}
Block {
BlockType UnitDelay
Name "Unit Delay1"
Position [180, 115, 215, 155]
SampleTime "-1"
}
Block {
BlockType Outport
Name "out1"
Position [370, 73, 400, 87]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [50, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Unit Delay"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, 80]
DstBlock "Unit Delay1"
DstPort 1
}
}
Line {
SrcBlock "In"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Unit Delay"
DstPort 1
}
Branch {
Points [0, -35; 255, 0]
DstBlock "Sum"
DstPort 1
}
}
Line {
SrcBlock "Unit Delay1"
SrcPort 1
Points [110, 0]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "[1 -3 3 1]"
Ports [1, 1]
Position [490, 85, 580, 125]
TreatAsAtomicUnit on
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "[1 -3 3 1]"
Location [561, 267, 1280, 603]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In"
Position [15, 48, 45, 62]
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "Gain"
Position [215, 40, 245, 70]
FontName "Helvetica"
Gain "-3"
}
Block {
BlockType Gain
Name "Gain1"
Position [260, 120, 290, 150]
FontName "Helvetica"
Gain "3"
}
Block {
BlockType Sum
Name "Sum"
Ports [4, 1]
Position [355, 65, 385, 95]
ShowName off
IconShape "round"
Inputs "+++-"
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [110, 35, 145, 75]
SampleTime "-1"
}
Block {
BlockType UnitDelay
Name "Unit Delay1"
Position [180, 115, 215, 155]
SampleTime "-1"
}
Block {
BlockType UnitDelay
Name "Unit Delay2"
Position [275, 185, 310, 225]
SampleTime "-1"
}
Block {
BlockType Outport
Name "out1"
Position [495, 73, 525, 87]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In"
SrcPort 1
Points [25, 0]
Branch {
Points [0, -35; 295, 0]
DstBlock "Sum"
DstPort 1
}
Branch {
DstBlock "Unit Delay"
DstPort 1
}
}
Line {
SrcBlock "Unit Delay"
SrcPort 1
Points [5, 0]
Branch {
Points [0, 80]
DstBlock "Unit Delay1"
DstPort 1
}
Branch {
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "Unit Delay1"
SrcPort 1
Points [10, 0; 0, 0]
Branch {
DstBlock "Gain1"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Unit Delay2"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [94, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [20, 0; 0, -41]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Unit Delay2"
SrcPort 1
Points [55, 0]
DstBlock "Sum"
DstPort 4
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "out1"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Comp out"
Position [650, 203, 680, 217]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "M"
SrcPort 1
DstBlock "Accumulator"
DstPort 1
}
Line {
SrcBlock "Accumulator1"
SrcPort 1
DstBlock "Accumulator2"
DstPort 1
}
Line {
SrcBlock "Accumulator2"
SrcPort 1
DstBlock "Accumulator3"
DstPort 1
}
Line {
SrcBlock "Accumulator1"
SrcPort 2
Points [10, 0; 0, 140]
DstBlock "[1 -1]\n"
DstPort 1
}
Line {
SrcBlock "Accumulator2"
SrcPort 2
Points [10, 0; 0, 70]
DstBlock "[1 -2 1]"
DstPort 1
}
Line {
SrcBlock "Accumulator3"
SrcPort 2
DstBlock "[1 -3 3 1]"
DstPort 1
}
Line {
SrcBlock "Accumulator3"
SrcPort 1
DstBlock "T"
DstPort 1
}
Line {
SrcBlock "Accumulator"
SrcPort 1
DstBlock "Accumulator1"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Comp out"
DstPort 1
}
Line {
SrcBlock "[1 -3 3 1]"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "[1 -2 1]"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "[1 -1]\n"
SrcPort 1
DstBlock "Sum2"
DstPort 3
}
Line {
SrcBlock "Accumulator"
SrcPort 2
Points [10, 0; 0, 210]
DstBlock "Sum2"
DstPort 4
}
Line {
SrcBlock "enable"
SrcPort 1
DstBlock "Logical\nOperator"
DstPort 1
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
Points [40, 0]
Branch {
Points [0, -85]
DstBlock "Accumulator1"
DstPort 2
}
Branch {
Points [115, 0]
Branch {
DstBlock "Accumulator2"
DstPort 2
}
Branch {
Points [90, 0]
DstBlock "Accumulator3"
DstPort 2
}
}
}
}
}
Block {
BlockType Constant
Name "Disable"
Position [375, 329, 395, 351]
Orientation "left"
Value "0"
}
Block {
BlockType SubSystem
Name "Div by var #"
Ports [1, 1, 0, 1]
Position [160, 215, 260, 265]
Orientation "left"
TreatAsAtomicUnit on
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Div by var #"
Location [240, 147, 843, 362]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "div #"
Position [135, 158, 165, 172]
IconDisplay "Port number"
}
Block {
BlockType TriggerPort
Name "Clock In"
Ports []
Position [225, 20, 245, 40]
}
Block {
BlockType Constant
Name "Constant"
Position [140, 98, 165, 122]
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [2, 1]
Position [365, 102, 395, 133]
Operator "mod"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator"
Position [455, 97, 485, 128]
Operator "<"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [215, 100, 235, 120]
ShowName off
IconShape "round"
Inputs "|++"
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [270, 90, 305, 130]
SampleTime "-1"
}
Block {
BlockType Outport
Name "Clock Out"
Position [540, 108, 570, 122]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
Points
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -