📄 ssts__lib_math.mdl
字号:
SrcBlock "Gain"
SrcPort 1
Points [0, -90]
DstBlock "Add1"
DstPort 2
}
Line {
SrcBlock "Add1"
SrcPort 1
DstBlock "Fcn2"
DstPort 1
}
Line {
SrcBlock "Fcn2"
SrcPort 1
Points [0, 0]
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 4
Points [35, 0; 0, -10]
DstBlock "Fcn1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0]
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Product"
DstPort 4
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Product"
DstPort 3
}
Annotation {
Name "L"
Position [346, 224]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "R"
Position [348, 290]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "alpha"
Position [335, 398]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "psai"
Position [328, 478]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "(L^2 + R^2 + 2LRcos(alpha)cos(pasi))^(-3/2)"
Position [584, 178]
UseDisplayTextAsClickCallback off
FontSize 14
}
}
}
Block {
BlockType SubSystem
Name "SSTS__lib_math_2"
Ports [1, 1]
Position [395, 238, 595, 272]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskDisplay "image(imread('SSTS__lib_math_2.jpg'));"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "SSTS__lib_math_2"
Location [-181, 74, 831, 744]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [230, 363, 260, 377]
IconDisplay "Port number"
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [515, 252, 545, 283]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add1"
Ports [2, 1]
Position [665, 302, 695, 333]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 4]
Position [285, 213, 305, 527]
BackgroundColor "black"
ShowName off
DisplayOption "bar"
}
Block {
BlockType Fcn
Name "Fcn"
Position [400, 420, 460, 450]
Expr "cos(u)"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [400, 465, 460, 495]
Expr "cos(u)"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [725, 305, 785, 335]
Expr "u^(-3/2)"
}
Block {
BlockType Gain
Name "Gain"
Position [590, 400, 620, 430]
Gain "2"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [405, 224, 435, 256]
Operator "magnitude^2"
}
Block {
BlockType Math
Name "Math\nFunction1"
Ports [1, 1]
Position [405, 284, 435, 316]
Operator "magnitude^2"
}
Block {
BlockType Product
Name "Product"
Ports [4, 1]
Position [500, 319, 545, 506]
Inputs "4"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Out"
Position [820, 313, 850, 327]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [0, -10; 40, 0]
Branch {
DstBlock "Math\nFunction"
DstPort 1
}
Branch {
Points [0, 105]
DstBlock "Product"
DstPort 1
}
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [20, 0; 0, -30; 35, 0]
Branch {
DstBlock "Math\nFunction1"
DstPort 1
}
Branch {
Points [0, 90]
DstBlock "Product"
DstPort 2
}
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [55, 0; 0, 25]
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
Points [30, 0; 0, 20]
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Math\nFunction1"
SrcPort 1
Points [30, 0; 0, -25]
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Add"
SrcPort 1
Points [35, 0; 0, 40]
DstBlock "Add1"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [0, -90]
DstBlock "Add1"
DstPort 2
}
Line {
SrcBlock "Add1"
SrcPort 1
DstBlock "Fcn2"
DstPort 1
}
Line {
SrcBlock "Fcn2"
SrcPort 1
Points [0, 0]
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 4
Points [35, 0; 0, -10]
DstBlock "Fcn1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0]
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Product"
DstPort 4
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Product"
DstPort 3
}
Annotation {
Name "L"
Position [346, 224]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "R"
Position [348, 290]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "alpha"
Position [350, 348]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "psai"
Position [348, 398]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "(L^2 + R^2 - 2LRcos(alpha)cos(pasi))^(-3/2)"
Position [584, 178]
UseDisplayTextAsClickCallback off
FontSize 14
}
}
}
Block {
BlockType SubSystem
Name "SSTS__lib_math_3"
Ports [1, 1]
Position [390, 393, 590, 427]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskPromptString "m|n"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVarAliasString ","
MaskVariables "m=@1;n=@2;"
MaskDisplay "image(imread('SSTS__lib_math_3.jpg'));"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "2|2"
MaskTabNameString ","
System {
Name "SSTS__lib_math_3"
Location [-83, 112, 929, 782]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [230, 363, 260, 377]
IconDisplay "Port number"
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [515, 252, 545, 283]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add1"
Ports [2, 1]
Position [665, 302, 695, 333]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add2"
Ports [2, 1]
Position [680, 407, 710, 438]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 4]
Position [285, 213, 305, 527]
BackgroundColor "black"
ShowName off
DisplayOption "bar"
}
Block {
BlockType Fcn
Name "Fcn"
Position [400, 420, 460, 450]
Expr "cos(u)"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [400, 465, 460, 495]
Expr "cos(u)"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [820, 360, 880, 390]
Expr "u^(n)"
}
Block {
BlockType Fcn
Name "Fcn3"
Position [380, 225, 440, 255]
Expr "u^m"
}
Block {
BlockType Fcn
Name "Fcn4"
Position [385, 285, 430, 315]
Expr "u^m"
}
Block {
BlockType Gain
Name "Gain"
Position [590, 400, 620, 430]
Gain "2"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Manual Switch"
Ports [2, 1]
Position [755, 357, 785, 393]
SourceBlock "simulink/Signal\nRouting/Manual Switch"
SourceType "Manual Switch"
ShowPortLabels "on"
sw "0"
action "0"
}
Block {
BlockType Product
Name "Product"
Ports [4, 1]
Position [500, 319, 545, 506]
Inputs "4"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Out"
Position [900, 368, 930, 382]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [0, -10; 40, 0]
Branch {
Points [0, 105]
DstBlock "Product"
DstPort 1
}
Branch {
DstBlock "Fcn3"
DstPort 1
}
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [20, 0; 0, -30; 35, 0]
Branch {
Points [0, 90]
DstBlock "Product"
DstPort 2
}
Branch {
DstBlock "Fcn4"
DstPort 1
}
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [55, 0; 0, 25]
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Fcn3"
SrcPort 1
Points [25, 0; 0, 20]
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Add"
SrcPort 1
Points [35, 0; 0, 40]
Branch {
DstBlock "Add1"
DstPort 1
}
Branch {
Points [0, 60; 80, 0]
DstBlock "Add2"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [0, 0]
Branch {
Points [0, -90]
DstBlock "Add1"
DstPort 2
}
Branch {
Points [0, 15]
DstBlock "Add2"
DstPort 2
}
}
Line {
SrcBlock "Fcn2"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -