📄 shuzilizi1.mdl
字号:
SrcPort 1
Points [20, 0; 0, -15]
Branch {
Points [0, -15]
DstBlock "Product1"
DstPort 1
}
Branch {
DstBlock "Product1"
DstPort 2
}
}
Line {
SrcBlock "Demux1"
SrcPort 2
Points [0, 0; 20, 0]
Branch {
DstBlock "Product"
DstPort 1
}
Branch {
Points [0, 15]
DstBlock "Product"
DstPort 2
}
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
Points [40, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Product3"
SrcPort 1
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [55, 0]
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Sum3"
SrcPort 1
Points [5, 0; 0, -10]
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Math\nFunction1"
DstPort 1
}
Line {
SrcBlock "Math\nFunction1"
SrcPort 1
Points [20, 0; 0, 5]
DstBlock "Trigonometric\nFunction1"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Trigonometric\nFunction"
DstPort 1
}
Line {
SrcBlock "Trigonometric\nFunction1"
SrcPort 1
Points [10, 0; 0, -45]
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "Trigonometric\nFunction"
SrcPort 1
Points [15, 0; 0, 125]
DstBlock "Mux2"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
Points [10, 0; 0, 5]
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [4, 1]
Position [685, 220, 785, 285]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Subsystem1"
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 "xk1-d"
Position [75, 253, 105, 267]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "xk2-d"
Position [70, 288, 100, 302]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "xk1"
Position [60, 83, 90, 97]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "xk2"
Position [65, 148, 95, 162]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [385, 86, 390, 124]
BackgroundColor "black"
ShowName off
Outputs "2"
DisplayOption "bar"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 2]
Position [405, 256, 410, 294]
BackgroundColor "black"
ShowName off
Outputs "2"
DisplayOption "bar"
}
Block {
BlockType Gain
Name "Gain"
Position [255, 90, 285, 120]
Gain "2"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [255, 260, 285, 290]
Gain "2"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [810, 185, 840, 215]
Gain "0.01"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [590, 45, 620, 75]
Operator "sqrt"
}
Block {
BlockType Math
Name "Math\nFunction1"
Ports [1, 1]
Position [600, 230, 630, 260]
Operator "sqrt"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [150, 256, 155, 294]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [145, 96, 150, 134]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1]
Position [765, 176, 770, 214]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [475, 277, 505, 308]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [475, 227, 505, 258]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [455, 107, 485, 138]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [450, 52, 480, 83]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [330, 95, 350, 115]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [355, 265, 375, 285]
ShowName off
IconShape "round"
Inputs "++|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [540, 235, 560, 255]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [535, 60, 555, 80]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction"
Ports [1, 1]
Position [680, 45, 710, 75]
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction1"
Ports [1, 1]
Position [695, 235, 725, 265]
Operator "cos"
}
Block {
BlockType Outport
Name "Out1"
Position [890, 193, 920, 207]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "xk1"
SrcPort 1
Points [15, 0; 0, 15]
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "xk2"
SrcPort 1
Points [15, 0; 0, -30]
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "xk1-d"
SrcPort 1
Points [10, 0; 0, 5]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "xk2-d"
SrcPort 1
Points [15, 0; 0, -10]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [35, 0; 0, -10; 25, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, 65; 150, 0]
DstBlock "Sum1"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, 0; 55, 0]
Branch {
Points [0, -75; 125, 0]
DstBlock "Sum"
DstPort 2
}
Branch {
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [20, 0; 0, -20]
Branch {
DstBlock "Product3"
DstPort 2
}
Branch {
Points [0, -15]
DstBlock "Product3"
DstPort 1
}
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [20, 0]
Branch {
DstBlock "Product2"
DstPort 1
}
Branch {
Points [0, 15]
DstBlock "Product2"
DstPort 2
}
}
Line {
SrcBlock "Demux1"
SrcPort 1
Points [20, 0; 0, -15]
Branch {
Points [0, -15]
DstBlock "Product1"
DstPort 1
}
Branch {
DstBlock "Product1"
DstPort 2
}
}
Line {
SrcBlock "Demux1"
SrcPort 2
Points [20, 0]
Branch {
DstBlock "Product"
DstPort 1
}
Branch {
Points [0, 15]
DstBlock "Product"
DstPort 2
}
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
Points [40, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Product3"
SrcPort 1
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [55, 0]
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Sum3"
SrcPort 1
Points [5, 0; 0, -10]
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Math\nFunction1"
DstPort 1
}
Line {
SrcBlock "Math\nFunction1"
SrcPort 1
Points [20, 0; 0, 5]
DstBlock "Trigonometric\nFunction1"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Trigonometric\nFunction"
DstPort 1
}
Line {
SrcBlock "Trigonometric\nFunction1"
SrcPort 1
Points [10, 0; 0, -45]
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "Trigonometric\nFunction"
SrcPort 1
Points [15, 0; 0, 125]
DstBlock "Mux2"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
Points [10, 0; 0, 5]
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [375, 290, 395, 310]
Orientation "up"
NamePlacement "alternate"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -