📄 testminidragondisplay.mdl
字号:
action "0"
Port {
PortNumber 1
Name "bottom left"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Reference
Name "Manual Switch5"
Ports [2, 1]
Position [120, 284, 135, 311]
ShowName off
SourceBlock "simulink/Signal\nRouting/Manual Switch"
SourceType "Manual Switch"
sw "1"
action "0"
Port {
PortNumber 1
Name "top left"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Reference
Name "Manual Switch6"
Ports [2, 1]
Position [120, 334, 135, 361]
ShowName off
SourceBlock "simulink/Signal\nRouting/Manual Switch"
SourceType "Manual Switch"
sw "1"
action "0"
Port {
PortNumber 1
Name "centre"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Reference
Name "Manual Switch7"
Ports [2, 1]
Position [120, 384, 135, 411]
ShowName off
SourceBlock "simulink/Signal\nRouting/Manual Switch"
SourceType "Manual Switch"
sw "0"
action "0"
Port {
PortNumber 1
Name "dot"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Mux
Name "Mux"
Ports [8, 1]
Position [220, 17, 225, 433]
ShowName off
Inputs "8"
DisplayOption "bar"
}
Block {
BlockType Constant
Name "R"
Position [65, 484, 185, 506]
Value "[1 0 0 0 1 1 1 1]"
ShowAdditionalParam on
OutDataTypeMode "double"
}
Block {
BlockType Switch
Name "Switch"
Position [410, 220, 440, 250]
InputSameDT off
}
Block {
BlockType Display
Name "switch data"
Ports [1]
Position [385, 13, 480, 177]
Decimation "1"
}
Block {
BlockType Display
Name "vector data"
Ports [1]
Position [380, 336, 470, 504]
Decimation "1"
}
Line {
SrcBlock "Constant3"
SrcPort 1
Points [0, 10]
DstBlock "Manual Switch"
DstPort 1
}
Line {
SrcBlock "Constant2"
SrcPort 1
DstBlock "Manual Switch"
DstPort 2
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [0, 10]
DstBlock "Manual Switch1"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Manual Switch1"
DstPort 2
}
Line {
SrcBlock "Constant7"
SrcPort 1
Points [0, 10]
DstBlock "Manual Switch2"
DstPort 1
}
Line {
SrcBlock "Constant6"
SrcPort 1
DstBlock "Manual Switch2"
DstPort 2
}
Line {
SrcBlock "Constant5"
SrcPort 1
Points [0, 10]
DstBlock "Manual Switch3"
DstPort 1
}
Line {
SrcBlock "Constant4"
SrcPort 1
DstBlock "Manual Switch3"
DstPort 2
}
Line {
SrcBlock "Constant11"
SrcPort 1
Points [0, 10]
DstBlock "Manual Switch4"
DstPort 1
}
Line {
SrcBlock "Constant10"
SrcPort 1
DstBlock "Manual Switch4"
DstPort 2
}
Line {
SrcBlock "Constant9"
SrcPort 1
Points [0, 10]
DstBlock "Manual Switch5"
DstPort 1
}
Line {
SrcBlock "Constant8"
SrcPort 1
DstBlock "Manual Switch5"
DstPort 2
}
Line {
SrcBlock "Constant15"
SrcPort 1
Points [0, 10]
DstBlock "Manual Switch6"
DstPort 1
}
Line {
SrcBlock "Constant14"
SrcPort 1
DstBlock "Manual Switch6"
DstPort 2
}
Line {
SrcBlock "Constant13"
SrcPort 1
Points [0, 10]
DstBlock "Manual Switch7"
DstPort 1
}
Line {
SrcBlock "Constant12"
SrcPort 1
DstBlock "Manual Switch7"
DstPort 2
}
Line {
Name "top centre"
Labels [-1, 1]
SrcBlock "Demux"
SrcPort 1
DstBlock "Display"
DstPort 1
}
Line {
Name "top right"
Labels [-1, 1]
SrcBlock "Demux"
SrcPort 2
DstBlock "Display"
DstPort 2
}
Line {
Name "bottom right"
Labels [-1, 1]
SrcBlock "Demux"
SrcPort 3
DstBlock "Display"
DstPort 3
}
Line {
Name "bottom centre"
Labels [-1, 1]
SrcBlock "Demux"
SrcPort 4
DstBlock "Display"
DstPort 4
}
Line {
Name "bottom left"
Labels [-1, 1]
SrcBlock "Demux"
SrcPort 5
DstBlock "Display"
DstPort 5
}
Line {
Name "top left"
Labels [-1, 1]
SrcBlock "Demux"
SrcPort 6
DstBlock "Display"
DstPort 6
}
Line {
Name "centre"
Labels [-1, 1]
SrcBlock "Demux"
SrcPort 7
DstBlock "Display"
DstPort 7
}
Line {
Name "dot"
Labels [-1, 1]
SrcBlock "Demux"
SrcPort 8
DstBlock "Display"
DstPort 8
}
Line {
Name "top centre"
Labels [0, 0]
SrcBlock "Manual Switch"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
Name "top right"
Labels [0, 0]
SrcBlock "Manual Switch1"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
Name "bottom right"
Labels [0, 0]
SrcBlock "Manual Switch2"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
Name "bottom centre"
Labels [0, 0]
SrcBlock "Manual Switch3"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
Name "bottom left"
Labels [0, 0]
SrcBlock "Manual Switch4"
SrcPort 1
DstBlock "Mux"
DstPort 5
}
Line {
Name "top left"
Labels [0, 0]
SrcBlock "Manual Switch5"
SrcPort 1
DstBlock "Mux"
DstPort 6
}
Line {
Name "centre"
Labels [0, 0]
SrcBlock "Manual Switch6"
SrcPort 1
DstBlock "Mux"
DstPort 7
}
Line {
Name "dot"
Labels [0, 0]
SrcBlock "Manual Switch7"
SrcPort 1
DstBlock "Mux"
DstPort 8
}
Line {
SrcBlock "Switch"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [95, 0]
Branch {
DstBlock "Switch"
DstPort 1
}
Branch {
Points [0, -130]
DstBlock "switch data"
DstPort 1
}
}
Line {
SrcBlock "Constant16"
SrcPort 1
Points [-25, 0; 0, -60]
DstBlock "Switch"
DstPort 2
}
Line {
SrcBlock "R"
SrcPort 1
Points [135, 0]
Branch {
Points [0, -250]
DstBlock "Switch"
DstPort 3
}
Branch {
Points [40, 0]
DstBlock "vector data"
DstPort 1
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -