📄 gjcf.mdl
字号:
BlockType Step
Name "Step"
Position [350, 445, 380, 475]
Time "0.2"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Subsystem3"
Ports [1, 2]
Position [170, 64, 195, 126]
TreatAsAtomicUnit off
System {
Name "Subsystem3"
Location [2, 82, 1014, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 38, 55, 52]
}
Block {
BlockType Reference
Name "Buffer"
Ports [1, 1]
Position [80, 27, 105, 63]
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "2"
V "0"
ic "0"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [185, 26, 190, 64]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType Reference
Name "Frame Status\nConversion2"
Ports [1, 1]
Position [125, 27, 160, 63]
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
growRefPort off
outframe "Sample-based"
}
Block {
BlockType Outport
Name "SI"
Position [215, 23, 245, 37]
}
Block {
BlockType Outport
Name "SQ"
Position [215, 53, 245, 67]
Port "2"
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [5, 0]
DstBlock "SQ"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Buffer"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [5, 0]
DstBlock "SI"
DstPort 1
}
Line {
SrcBlock "Buffer"
SrcPort 1
DstBlock "Frame Status\nConversion2"
DstPort 1
}
Line {
SrcBlock "Frame Status\nConversion2"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem4"
Ports [2, 1]
Position [375, 365, 415, 425]
TreatAsAtomicUnit off
System {
Name "Subsystem4"
Location [197, 388, 592, 581]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [50, 33, 80, 47]
}
Block {
BlockType Inport
Name "In2"
Position [50, 103, 80, 117]
Port "2"
}
Block {
BlockType Reference
Name "Frame Status\nConversion1"
Ports [1, 1]
Position [225, 57, 260, 93]
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
growRefPort off
outframe "Frame-based"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [195, 56, 200, 94]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator1"
Position [25, 134, 55, 166]
SampleTime "0.02"
}
Block {
BlockType Reference
Name "Sample\nand Hold"
Ports [1, 1, 0, 1]
Position [105, 27, 140, 53]
NamePlacement "alternate"
SourceBlock "dspsigops/Sample\nand Hold"
SourceType "Sample and Hold"
trig "Either edge"
initCond "0"
}
Block {
BlockType Reference
Name "Sample\nand Hold1"
Ports [1, 1, 0, 1]
Position [105, 97, 140, 123]
NamePlacement "alternate"
SourceBlock "dspsigops/Sample\nand Hold"
SourceType "Sample and Hold"
trig "Either edge"
initCond "0"
}
Block {
BlockType Reference
Name "Unbuffer"
Ports [1, 1]
Position [285, 56, 315, 94]
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "0"
}
Block {
BlockType Outport
Name "Out1"
Position [340, 68, 370, 82]
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Sample\nand Hold1"
DstPort 1
}
Line {
SrcBlock "Unbuffer"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Sample\nand Hold"
DstPort 1
}
Line {
SrcBlock "Pulse\nGenerator1"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
Points [30, 0]
DstBlock "Sample\nand Hold1"
DstPort trigger
}
Branch {
Points [0, -82]
DstBlock "Sample\nand Hold"
DstPort trigger
}
}
Line {
SrcBlock "Sample\nand Hold1"
SrcPort 1
Points [30, 0; 0, -25]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Sample\nand Hold"
SrcPort 1
Points [30, 0; 0, 25]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Frame Status\nConversion1"
SrcPort 1
DstBlock "Unbuffer"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Frame Status\nConversion1"
DstPort 1
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [525, 85, 545, 105]
ShowName off
IconShape "round"
Inputs "+-"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [335, 85, 355, 105]
ShowName off
IconShape "round"
Inputs "|++"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [610, 85, 630, 105]
ShowName off
IconShape "round"
Inputs "|++"
}
Block {
BlockType TransportDelay
Name "Transport\nDelay"
Position [905, 310, 935, 340]
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold1"
Position [507, 460, 543, 500]
Orientation "down"
NamePlacement "alternate"
SampleTime "0.0001"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold2"
Position [590, 556, 625, 594]
SampleTime "0.0001"
}
Block {
BlockType SubSystem
Name "miao-0"
Ports [0, 1]
Position [0, 64, 40, 126]
TreatAsAtomicUnit off
System {
Name "miao-0"
Location [2, 82, 1014, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [2, 1]
Position [200, 37, 230, 68]
Operator "XOR"
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [45, 120, 80, 160]
SampleTime "0.01"
}
Block {
BlockType UnitDelay
Name "Unit Delay1"
Position [110, 120, 145, 160]
SampleTime "0.01"
}
Block {
BlockType UnitDelay
Name "Unit Delay2"
Position [180, 120, 215, 160]
SampleTime "0.01"
}
Block {
BlockType UnitDelay
Name "Unit Delay3"
Position [245, 120, 280, 160]
X0 "1"
SampleTime "0.01"
}
Block {
BlockType Outport
Name "m"
Position [425, 103, 455, 117]
}
Line {
SrcBlock "Unit Delay"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "Unit Delay1"
DstPort 1
}
Branch {
Points [0, -95]
DstBlock "Logical\nOperator"
DstPort 1
}
}
Line {
SrcBlock "Unit Delay1"
SrcPort 1
DstBlock "Unit Delay2"
DstPort 1
}
Line {
SrcBlock "Unit Delay2"
SrcPort 1
DstBlock "Unit Delay3"
DstPort 1
}
Line {
SrcBlock "Unit Delay3"
SrcPort 1
Points [0, 0; 0, -30]
Branch {
Points [0, -10; -100, 0]
DstBlock "Logical\nOperator"
DstPort 2
}
Branch {
DstBlock "m"
DstPort 1
}
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
Points [0, -25; -205, 0]
DstBlock "Unit Delay"
DstPort 1
}
}
}
Block {
BlockType "S-Function"
Name "miao-1"
Ports [1, 1]
Position [255, 79, 310, 111]
FunctionName "angle01"
}
Block {
BlockType "S-Function"
Name "miao-10"
Ports [1, 1]
Position [440, 260, 500, 290]
Orientation "left"
FunctionName "Ci"
}
Block {
BlockType "S-Function"
Name "miao-11"
Ports [1, 1]
Position [360, 260, 420, 290]
Orientation "left"
FunctionName "mod8"
}
Block {
BlockType "S-Function"
Name "miao-12"
Ports [1, 1]
Position [925, 365, 985, 395]
Orientation "left"
FunctionName "XnkYnk_1"
}
Block {
BlockType "S-Function"
Name "miao-13"
Ports [1, 1]
Position [835, 365, 895, 395]
Orientation "left"
FunctionName "angle_a"
}
Block {
BlockType "S-Function"
Name "miao-14"
Ports [1, 1]
Position [745, 365, 805, 395]
Orientation "left"
FunctionName "Di"
}
Block {
BlockType "S-Function"
Name "miao-15"
Ports [1, 1]
Position [655, 365, 715, 395]
Orientation "left"
FunctionName "mod8"
}
Block {
BlockType "S-Function"
Name "miao-16"
Ports [1, 1]
Position [235, 285, 295, 315]
Orientation "left"
FunctionName "jishu"
}
Block {
BlockType "S-Function"
Name "miao-17"
Ports [1, 1]
Position [245, 380, 305, 410]
FunctionName "Out"
}
Block {
BlockType SubSystem
Name "miao-2"
Ports [1, 2]
Position [380, 53, 420, 137]
TreatAsAtomicUnit off
System {
Name "miao-2"
Location [0, 88, 1012, 742]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 38, 55, 52]
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 3]
Position [175, 25, 180, 95]
BackgroundColor "black"
ShowName off
Outputs "3"
}
Block {
BlockType DiscreteTransferFcn
Name "Discrete\nTransfer Fcn"
Position [75, 89, 100, 121]
Orientation "left"
Denominator "[1 0]"
SampleTime "0.01"
}
Block {
BlockType DiscreteTransferFcn
Name "Discrete\nTransfer Fcn1"
Position [120, 89, 145, 121]
Orientation "left"
Denominator "[1 0 ]"
SampleTime "0.01"
}
Block {
BlockType Mux
Name "Mux4"
Ports [2, 1]
Position [80, 32, 85, 83]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType "S-Function"
Name "miao-3"
Ports [1, 1]
Position [105, 45, 150, 75]
FunctionName "UV"
}
Block {
BlockType Outport
Name "Uk"
Position [205, 28, 235, 42]
}
Block {
BlockType Outport
Name "Vk"
Position [280, 53, 310, 67]
Port "2"
}
Line {
SrcBlock "miao-3"
SrcPort 1
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "Mux4"
SrcPort 1
DstBlock "miao-3"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 3
Points [0, 20]
DstBlock "Discrete\nTransfer Fcn1"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 1
DstBlock "Uk"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Mux4"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 2
DstBlock "Vk"
DstPort 1
}
Line {
SrcBlock "Discrete\nTransfer Fcn"
SrcPort 1
Points [-5, 0]
DstBlock "Mux4"
DstPort 2
}
Line {
SrcBlock "Discrete\nTransfer Fcn1"
SrcPort 1
DstBlock "Discrete\nTransfer Fcn"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "miao-4"
Ports [1, 6]
Position [810, 18, 850, 82]
TreatAsAtomicUnit off
System {
Name "miao-4"
Location [2, 82, 1014, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In"
Position [205, 113, 235, 127]
}
Block {
BlockType Scope
Name "Scope"
Ports [6]
Position [520, 232, 570, 488]
Location [9, 86, 1008, 579]
Open off
NumInputPorts "6"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
axes5 "%<SignalLabel>"
axes6 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
axes5 ""
axes6 ""
}
YMin "-7.5~-7.5~-7.5~-7.5~0~-1"
YMax "7.5~7.5~7.5~7.5~7.5~1"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -