📄 mnfz.mdl
字号:
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Gain
Name "1/0.25^1"
Position [860, 120, 900, 150]
Gain "1/2"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "1/0.25^2"
Position [785, 120, 830, 150]
Gain "1/0.25^2"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Constant
Name "Constant"
Position [50, 105, 80, 135]
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Constant1"
Position [40, 222, 90, 258]
Value "220*sqrt(2)"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Fcn
Name "Fcn"
Position [405, 223, 470, 257]
Expr "16/(u^4)"
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [225, 110, 255, 140]
Operator "square"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Math
Name "Math\nFunction1"
Ports [1, 1]
Position [560, 110, 590, 140]
Operator "square"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Product
Name "Product1"
Ports [3, 1]
Position [165, 109, 195, 141]
Inputs "3"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [720, 117, 750, 148]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [575, 29, 605, 61]
Floating off
Location [5, 62, 1445, 869]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope4"
Ports [1]
Position [985, 119, 1015, 151]
Floating off
Location [236, 456, 662, 746]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "10"
YMin "0"
YMax "1.4"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType SignalGenerator
Name "Signal\nGenerator"
Ports [0, 1]
Position [50, 40, 80, 70]
Amplitude "0.125"
Frequency "8.8"
}
Block {
BlockType Sin
Name "Sine Wave"
Ports [0, 1]
Position [50, 165, 80, 195]
Frequency "50*2*pi"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [115, 45, 135, 65]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType ToFile
Name "To File"
Position [955, 184, 1040, 226]
Filename "zhoulinjun.mat"
MatrixName "shuju"
SampleTime "1/400"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn1"
Position [275, 107, 335, 143]
NamePlacement "alternate"
Numerator "[1 0]"
Denominator "[1 0.314]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn2"
Position [365, 107, 425, 143]
Numerator "[219.9115^6]"
Denominator "[1 3.864*219.9115 7.464*219.9115^2 9.141*219.9115^3 7.464*219.9115^4 3.864*219.9115^5 219.911"
"5^6 ]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn3"
Position [470, 107, 530, 143]
Numerator "[7.01951417402480 1.005499289428914e+002 0]"
Denominator "[9.439217500836847e-004 0.18530877012524 11.12037678063839 5.048279715027159e+002 3.308801709"
"204596e+003]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn4"
Position [620, 107, 680, 143]
Denominator "[0.3 1]"
}
Block {
BlockType SignalViewerScope
Name "Scope8"
Ports []
Position [20, 15, 60, 55]
IOType "viewer"
Location [618, 246, 942, 485]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
ShowDataMarkers off
ShowLegends off
DataFormat "Array"
MaxDataPoints "7500"
RefreshTime 0.035000
}
Block {
BlockType Sin
Name "Sine Wave1"
Ports [0, 1]
Position [125, 175, 155, 205]
IOType "siggen"
SampleTime "0"
}
Line {
SrcBlock "Signal\nGenerator"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [10, 0]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
Points [45, 0; 0, -55]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Transfer Fcn1"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn1"
SrcPort 1
DstBlock "Transfer Fcn2"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [40, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [45, 0]
Branch {
Points [0, -105]
DstBlock "Product1"
DstPort 3
}
Branch {
DstBlock "Fcn"
DstPort 1
}
}
Line {
SrcBlock "Math\nFunction1"
SrcPort 1
DstBlock "Transfer Fcn4"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn4"
SrcPort 1
DstBlock "Product3"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [225, 0; 0, -100]
DstBlock "Product3"
DstPort 2
}
Line {
SrcBlock "Product3"
SrcPort 1
DstBlock "1/0.25^2"
DstPort 1
}
Line {
SrcBlock "1/0.25^2"
SrcPort 1
DstBlock "1/0.25^1"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn3"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Math\nFunction1"
DstPort 1
}
Branch {
Points [0, -80]
DstBlock "Scope1"
DstPort 1
}
}
Line {
SrcBlock "Transfer Fcn2"
SrcPort 1
DstBlock "Transfer Fcn3"
DstPort 1
}
Line {
SrcBlock "1/0.25^1"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 70]
DstBlock "To File"
DstPort 1
}
Branch {
DstBlock "Scope4"
DstPort 1
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -