📄 mqueue1.mdl
字号:
Location [5, 54, 1029, 741]
Open off
NumInputPorts "2"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
YMin "-5~-5"
YMax "5~5"
SaveName "ScopeData4"
DataFormat "StructureWithTime"
SampleInput on
}
Block {
BlockType Step
Name "Step"
Position [190, 45, 220, 75]
Time "0.001"
SampleTime "0"
}
Block {
BlockType Outport
Name "output"
Position [715, 238, 745, 262]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Step"
SrcPort 1
Points [10, 0; 0, 40; 60, 0]
Branch {
DstBlock "Data Type Conversion"
DstPort 1
}
Branch {
DstBlock "Scope3"
DstPort 1
}
}
Line {
SrcBlock "Data Type Conversion"
SrcPort 1
DstBlock "Logical\nOperator1"
DstPort 1
}
Line {
SrcBlock "Logical\nOperator1"
SrcPort 1
DstBlock "Logical\nOperator"
DstPort 1
}
Line {
SrcBlock "Queue3"
SrcPort 1
Points [10, 0]
DstBlock "Queue"
DstPort 1
}
Line {
SrcBlock "Queue"
SrcPort 1
Points [5, 0; 0, -20]
DstBlock "Queue1"
DstPort 1
}
Line {
SrcBlock "Queue2"
SrcPort 1
Points [10, 0; 0, -45; -170, 0; 0, -30]
Branch {
DstBlock "Logical\nOperator"
DstPort 2
}
Branch {
DstBlock "Scope2"
DstPort 1
}
}
Line {
SrcBlock "Data Type \nConversion"
SrcPort 1
Points [0, -45; -265, 0; 0, -30]
Branch {
Points [0, -30]
Branch {
Points [0, -70]
DstBlock "Queue3"
DstPort 2
}
Branch {
Points [180, 0]
Branch {
Points [130, 0]
Branch {
Points [0, -65]
DstBlock "Queue1"
DstPort 2
}
Branch {
Points [140, 0; 0, -65]
DstBlock "Queue2"
DstPort 2
}
}
Branch {
Points [0, -65]
DstBlock "Queue"
DstPort 2
}
}
}
Branch {
Points [0, 0]
DstBlock "Logical\nOperator4"
DstPort 1
}
}
Line {
SrcBlock "Logical\nOperator3"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Data Type \nConversion"
DstPort 1
}
Branch {
Points [0, 30]
DstBlock "Scope4"
DstPort 2
}
}
Line {
SrcBlock "Logical\nOperator4"
SrcPort 1
DstBlock "Data Type \nConversion1"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion1"
SrcPort 1
Points [0, 5; 25, 0]
Branch {
Points [0, -55; -110, 0; 0, -30]
DstBlock "Queue3"
DstPort 3
}
Branch {
Points [35, 0]
Branch {
DstBlock "Queue"
DstPort 3
}
Branch {
Points [140, 0]
Branch {
DstBlock "Queue1"
DstPort 3
}
Branch {
Points [135, 0]
DstBlock "Queue2"
DstPort 3
}
}
}
}
Line {
SrcBlock "Queue1"
SrcPort 1
Points [5, 0; 0, -5]
Branch {
Points [0, -15]
DstBlock "Queue2"
DstPort 1
}
Branch {
Points [0, 120]
DstBlock "Logical\nOperator2"
DstPort 2
}
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
Points [130, 0; 0, 140]
Branch {
Points [-90, 0; 0, 40]
DstBlock "Logical\nOperator2"
DstPort 1
}
Branch {
Points [20, 0]
Branch {
DstBlock "output"
DstPort 1
}
Branch {
Points [0, 90]
DstBlock "Scope1"
DstPort 1
}
}
}
Line {
SrcBlock "Data Type \nConversion2"
SrcPort 1
Points [0, 10]
DstBlock "Queue3"
DstPort 1
}
Line {
SrcBlock "Logical\nOperator2"
SrcPort 1
Points [30, 0; 0, 40; -635, 0; 0, -260]
DstBlock "Data Type \nConversion2"
DstPort 1
}
Line {
SrcBlock "Pulse\nGenerator1"
SrcPort 1
Points [25, 0; 20, 0]
Branch {
DstBlock "Scope"
DstPort 1
}
Branch {
DstBlock "Logical\nOperator3"
DstPort 1
}
}
Line {
SrcBlock "input"
SrcPort 1
Points [75, 0; 0, -35; 35, 0]
Branch {
Points [0, 45; 85, 0; 0, -45]
DstBlock "Scope4"
DstPort 1
}
Branch {
Points [0, -10]
DstBlock "Logical\nOperator3"
DstPort 2
}
}
}
}
Block {
BlockType Outport
Name "Out1"
Position [585, 418, 615, 432]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Unipolar to\nBipolar\nConverter"
SrcPort 1
Points [55, 0]
Branch {
Points [0, -90]
DstBlock "Scope8"
DstPort 1
}
Branch {
DstBlock "Product"
DstPort 1
}
}
Line {
SrcBlock "Product"
SrcPort 1
Points [10, 0]
Branch {
Points [0, -55; -480, 0; 0, 130]
DstBlock "Scope"
DstPort 3
}
Branch {
Points [15, 0]
Branch {
Points [0, -80]
DstBlock "Scope8"
DstPort 3
}
Branch {
DstBlock "intergrate&judge"
DstPort 1
}
}
}
Line {
SrcBlock "intergrate&judge"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Logical\nOperator1"
DstPort 1
}
Branch {
Points [0, -70]
DstBlock "Scope8"
DstPort 4
}
}
Line {
SrcBlock "Logical\nOperator1"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Logical\nOperator3"
DstPort 1
}
Branch {
Points [0, -70]
DstBlock "Scope6"
DstPort 1
}
}
Line {
SrcBlock "Pulse\nGenerator"
SrcPort 1
DstBlock "Logical\nOperator2"
DstPort 1
}
Line {
SrcBlock "Step"
SrcPort 1
Points [10, 0; 0, -45]
DstBlock "Logical\nOperator2"
DstPort 2
}
Line {
SrcBlock "Logical\nOperator2"
SrcPort 1
Points [50, 0]
Branch {
Points [50, 0; 0, -60; 10, 0]
Branch {
DstBlock "Logical\nOperator3"
DstPort 2
}
Branch {
Points [0, -75]
DstBlock "Scope6"
DstPort 2
}
}
Branch {
Points [0, 40]
DstBlock "Scope2"
DstPort 1
}
}
Line {
SrcBlock "Logical\nOperator3"
SrcPort 1
Points [20, 0]
DstBlock "Logical\nOperator4"
DstPort 1
}
Line {
SrcBlock "pntongbu"
SrcPort 1
Points [40, 0; 0, -5]
Branch {
Points [0, -125]
DstBlock "Scope"
DstPort 2
}
Branch {
Points [10, 0]
DstBlock "Data Type \nConversion2"
DstPort 1
}
Branch {
Points [0, 65]
DstBlock "Scope5"
DstPort 1
}
}
Line {
SrcBlock "Unipolar to\nBipolar\nConverter1"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Out1"
DstPort 1
}
Branch {
Points [0, -185]
Branch {
DstBlock "Product"
DstPort 2
}
Branch {
Points [0, -95]
DstBlock "Scope8"
DstPort 2
}
}
}
Line {
SrcBlock "Data Type \nConversion2"
SrcPort 1
Points [0, -5]
DstBlock "Unipolar to\nBipolar\nConverter1"
DstPort 1
}
Line {
SrcBlock "Logical\nOperator4"
SrcPort 1
Points [0, 15]
Branch {
Points [35, 0]
DstBlock "Scope6"
DstPort 3
}
Branch {
Points [0, 10; -765, 0; 0, 45]
DstBlock "pntongbu"
DstPort 1
}
}
Line {
SrcBlock "PN Sequence\nGenerator"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 65]
DstBlock "Scope"
DstPort 1
}
Branch {
DstBlock "Data Type \nConversion"
DstPort 1
}
Branch {
Points [0, -130]
DstBlock "Scope3"
DstPort 1
}
}
Line {
SrcBlock "Data Type \nConversion"
SrcPort 1
DstBlock "Unipolar to\nBipolar\nConverter"
DstPort 1
}
}
}
# Finite State Machines
#
# Stateflow Version 6.1 (R14SP1) dated Sep 7 2004, 18:52:26
#
#
Stateflow {
machine {
id 1
name "mqueue1"
created "03-Nov-2008 04:46:24"
isLibrary 0
firstTarget 2
sfVersion 61014000
}
target {
id 2
name "sfun"
description "Default Simulink S-Function Target."
machine 1
linkNode [1 0 0]
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -