📄 geq.mdl
字号:
PortCounts "[]"
SFunctionModules "''"
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
ShowAdditionalParam off
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "geq"
Location [474, 145, 1148, 446]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "Digital\nFilter Design"
Ports [1, 1]
Position [220, 32, 285, 88]
UserDataPersistent on
UserData "DataTag0"
FontSize 10
SourceBlock "dsparch4/Digital\nFilter Design"
SourceType "Digital Filter Design"
}
Block {
BlockType Reference
Name "Digital\nFilter Design1"
Ports [1, 1]
Position [225, 122, 290, 178]
UserDataPersistent on
UserData "DataTag1"
FontSize 10
SourceBlock "dsparch4/Digital\nFilter Design"
SourceType "Digital Filter Design"
}
Block {
BlockType Reference
Name "Digital\nFilter Design2"
Ports [1, 1]
Position [225, 227, 290, 283]
UserDataPersistent on
UserData "DataTag2"
FontSize 10
SourceBlock "dsparch4/Digital\nFilter Design"
SourceType "Digital Filter Design"
}
Block {
BlockType Gain
Name "Gain"
Position [340, 45, 370, 75]
}
Block {
BlockType Gain
Name "Gain1"
Position [345, 135, 375, 165]
}
Block {
BlockType Gain
Name "Gain2"
Position [350, 240, 380, 270]
}
Block {
BlockType Reference
Name "Sine Wave"
Ports [0, 1]
Position [15, 143, 60, 187]
AttributesFormatString "\\n"
FontSize 10
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "1"
Frequency "4000"
Phase "0"
SampleMode "Discrete"
OutComplex "Real"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "1/48000"
SamplesPerFrame "1"
additionalParams off
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "14"
ResetState "Restart at time zero"
}
Block {
BlockType Reference
Name "Spectrum\nScope"
Ports [1]
Position [520, 115, 555, 165]
AttributesFormatString "\\n"
FontSize 10
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ScopeProperties on
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "128"
Overlap "64"
inpFftLenInherit off
FFTlength "128"
numAvg "2"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber on
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "get(0,'defaultfigureposition')"
AxisProperties off
XUnits "Hertz"
XRange "[0...Fs/2]"
InheritXIncr on
XIncr "1.0"
XLabel "Samples"
YUnits "dB"
YMin "-111.238181915047"
YMax "18.2552821907681"
YLabel "Magnitude, dB"
LineProperties off
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [440, 108, 465, 177]
ShowName off
Inputs "|+++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Line {
SrcBlock "Digital\nFilter Design"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Digital\nFilter Design2"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Digital\nFilter Design1"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [20, 0; 0, -90]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [25, 0; 0, 75]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [0, -5]
DstBlock "Spectrum\nScope"
DstPort 1
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -