?? tdma.mdl
字號(hào):
SrcBlock "Enabled\nSubsystem"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Enabled\nSubsystem"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Enabled\nSubsystem1"
DstPort 1
}
Line {
SrcBlock "Enabled\nSubsystem1"
SrcPort 1
DstBlock "Out2"
DstPort 1
}
Line {
SrcBlock "Delay1"
SrcPort 1
Points [130, 0]
DstBlock "Enabled\nSubsystem1"
DstPort enable
}
Line {
SrcBlock "Delay"
SrcPort 1
Points [130, 0]
DstBlock "Enabled\nSubsystem2"
DstPort enable
}
}
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [3, 3]
Position [180, 117, 240, 173]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Subsystem1"
Location [53, 284, 551, 584]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [260, 63, 290, 77]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In2"
Position [265, 138, 295, 152]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In3"
Position [265, 213, 295, 227]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Delay"
Ports [1, 1]
Position [200, 164, 225, 196]
ShowName off
SourceBlock "dspsigops/Delay"
SourceType "Delay"
dly_unit "Samples"
delay "2"
ic_detail off
dif_ic_for_ch off
dif_ic_for_dly off
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Delay1"
Ports [1, 1]
Position [200, 94, 225, 126]
ShowName off
SourceBlock "dspsigops/Delay"
SourceType "Delay"
dly_unit "Samples"
delay "1"
ic_detail off
dif_ic_for_ch off
dif_ic_for_dly off
ic "0"
reset_popup "None"
}
Block {
BlockType SubSystem
Name "Enabled\nSubsystem"
Ports [1, 1, 1]
Position [325, 55, 390, 85]
ShowName off
TreatAsAtomicUnit on
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Enabled\nSubsystem"
Location [421, 301, 919, 601]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [110, 103, 140, 117]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType EnablePort
Name "Enable"
Ports []
Position [235, 20, 255, 40]
}
Block {
BlockType Outport
Name "Out1"
Position [360, 103, 390, 117]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Enabled\nSubsystem1"
Ports [1, 1, 1]
Position [330, 130, 395, 160]
ShowName off
TreatAsAtomicUnit on
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Enabled\nSubsystem1"
Location [421, 301, 919, 601]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [110, 103, 140, 117]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType EnablePort
Name "Enable"
Ports []
Position [235, 20, 255, 40]
}
Block {
BlockType Outport
Name "Out1"
Position [360, 103, 390, 117]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Enabled\nSubsystem2"
Ports [1, 1, 1]
Position [330, 205, 395, 235]
ShowName off
TreatAsAtomicUnit on
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Enabled\nSubsystem2"
Location [421, 301, 919, 601]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [110, 103, 140, 117]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType EnablePort
Name "Enable"
Ports []
Position [235, 20, 255, 40]
}
Block {
BlockType Outport
Name "Out1"
Position [360, 103, 390, 117]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator1"
Ports [0, 1]
Position [25, 87, 70, 133]
ShowName off
PulseType "Time based"
Period "0.1"
PulseWidth "1/3"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold"
Position [100, 91, 135, 129]
SampleTime "0.1/3"
}
Block {
BlockType Outport
Name "Out1"
Position [425, 63, 455, 77]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out2"
Position [430, 138, 460, 152]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out3"
Position [430, 213, 460, 227]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Pulse\nGenerator1"
SrcPort 1
DstBlock "Zero-Order\nHold"
DstPort 1
}
Line {
SrcBlock "Zero-Order\nHold"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 0]
DstBlock "Delay1"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Delay"
DstPort 1
}
Branch {
Points [0, -80; 195, 0]
DstBlock "Enabled\nSubsystem"
DstPort enable
}
}
Line {
SrcBlock "In3"
SrcPort 1
DstBlock "Enabled\nSubsystem2"
DstPort 1
}
Line {
SrcBlock "Enabled\nSubsystem2"
SrcPort 1
DstBlock "Out3"
DstPort 1
}
Line {
SrcBlock "Enabled\nSubsystem"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Enabled\nSubsystem"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Enabled\nSubsystem1"
DstPort 1
}
Line {
SrcBlock "Enabled\nSubsystem1"
SrcPort 1
DstBlock "Out2"
DstPort 1
}
Line {
SrcBlock "Delay1"
SrcPort 1
Points [130, 0]
DstBlock "Enabled\nSubsystem1"
DstPort enable
}
Line {
SrcBlock "Delay"
SrcPort 1
Points [130, 0]
DstBlock "Enabled\nSubsystem2"
DstPort enable
}
}
}
Block {
BlockType Reference
Name "Variable\nSelector"
Ports [1, 1]
Position [510, 102, 575, 148]
SourceBlock "dspindex/Variable\nSelector"
SourceType "Variable Selector"
ShowPortLabels on
rowsOrCols "Rows"
IdxMode "Fixed"
Elements "[3 1 2]"
ZerOneIdxMode "One-based"
errmode "Clip Index"
}
Line {
SrcBlock "Pulse\nGenerator"
SrcPort 1
Points [30, 0; 0, 30]
DstBlock "Subsystem1"
DstPort 1
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
DstBlock "Subsystem1"
DstPort 2
}
Line {
SrcBlock "Repeating\nSequence"
SrcPort 1
Points [40, 0; 0, -35]
DstBlock "Subsystem1"
DstPort 3
}
Line {
SrcBlock "Subsystem1"
SrcPort 1
DstBlock "Merge"
DstPort 1
}
Line {
SrcBlock "Subsystem1"
SrcPort 2
DstBlock "Merge"
DstPort 2
}
Line {
SrcBlock "Subsystem1"
SrcPort 3
DstBlock "Merge"
DstPort 3
}
Line {
SrcBlock "Merge"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Subsystem"
DstPort 3
}
Branch {
Points [0, -20]
Branch {
DstBlock "Subsystem"
DstPort 2
}
Branch {
Points [0, -20]
DstBlock "Subsystem"
DstPort 1
}
}
Branch {
Points [0, 65]
DstBlock "Scope"
DstPort 1
}
}
Line {
SrcBlock "Subsystem"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Subsystem"
SrcPort 2
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Subsystem"
SrcPort 3
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Variable\nSelector"
DstPort 1
}
Line {
SrcBlock "Variable\nSelector"
SrcPort 1
Points [10, 0; 0, 85]
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Scope1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Scope1"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "Scope1"
DstPort 3
}
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -