📄 equizer4.mdl
字号:
Name "Sample\nand Hold1"
Ports [1, 1, 0, 1]
Position [595, 159, 645, 201]
SourceBlock "dspsigops/Sample\nand Hold"
SourceType "Sample and Hold"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
trig "Rising edge"
initCond "0"
latchinput off
}
Block {
BlockType Scope
Name "Scope1"
Ports [3]
Position [915, 188, 945, 222]
Floating off
Location [5, 56, 1285, 993]
Open off
NumInputPorts "3"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
YMin "-5~-5~-5"
YMax "5~5~5"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope4"
Ports [2]
Position [850, 51, 880, 84]
Floating off
Location [5, 56, 1285, 993]
Open off
NumInputPorts "2"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
YMin "-5~-5"
YMax "5~5"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [120, 90, 140, 110]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Tapped Delay"
Ports [1, 1]
Position [340, 82, 375, 118]
SourceBlock "simulink/Discrete/Tapped Delay"
SourceType "Tapped Delay Line"
vinit "0.0"
samptime "-1"
NumDelays "1"
DelayOrder "Oldest"
includeCurrent off
}
Block {
BlockType Reference
Name "Tapped Delay1"
Ports [1, 1]
Position [280, 82, 315, 118]
SourceBlock "simulink/Discrete/Tapped Delay"
SourceType "Tapped Delay Line"
vinit "0.0"
samptime "-1"
NumDelays "1"
DelayOrder "Oldest"
includeCurrent off
}
Block {
BlockType Reference
Name "Tapped Delay2"
Ports [1, 1]
Position [475, 67, 510, 103]
NamePlacement "alternate"
SourceBlock "simulink/Discrete/Tapped Delay"
SourceType "Tapped Delay Line"
vinit "0.0"
samptime "-1"
NumDelays "1"
DelayOrder "Oldest"
includeCurrent off
}
Block {
BlockType Reference
Name "Tapped Delay3"
Ports [1, 1]
Position [540, 162, 575, 198]
SourceBlock "simulink/Discrete/Tapped Delay"
SourceType "Tapped Delay Line"
vinit "0.0"
samptime "-1"
NumDelays "1"
DelayOrder "Oldest"
includeCurrent off
}
Block {
BlockType Outport
Name "Out1"
Position [895, 113, 925, 127]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "msg_I_r"
Position [965, 318, 995, 332]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "msg_Q_r"
Position [905, 353, 935, 367]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Sample\nand Hold"
SrcPort 1
Points [55, 0]
Branch {
Points [0, 80]
DstBlock "Embedded\nMATLAB Function2"
DstPort 2
}
Branch {
Points [0, -25]
DstBlock "Scope4"
DstPort 1
}
}
Line {
SrcBlock "Sample\nand Hold1"
SrcPort 1
Points [25, 0]
Branch {
Points [0, -55]
DstBlock "Embedded\nMATLAB Function2"
DstPort 1
}
Branch {
Points [0, 25]
DstBlock "Scope1"
DstPort 2
}
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
Points [10, 0; 0, 35]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Math\nFunction1"
SrcPort 1
Points [45, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Digital\nFilter Design"
DstPort 1
}
Line {
SrcBlock "Digital\nFilter Design"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Tapped Delay1"
DstPort 1
}
Branch {
Points [0, 55]
DstBlock "Embedded\nMATLAB Function1"
DstPort 3
}
}
Line {
SrcBlock "Tapped Delay"
SrcPort 1
Points [0, 25]
DstBlock "Embedded\nMATLAB Function1"
DstPort 1
}
Line {
SrcBlock "Embedded\nMATLAB Function1"
SrcPort 1
Points [0, 0]
Branch {
Points [0, -91]
DstBlock "Sample\nand Hold"
DstPort trigger
}
Branch {
Points [85, 0]
DstBlock "Sample\nand Hold1"
DstPort trigger
}
}
Line {
SrcBlock "Tapped Delay1"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Tapped Delay"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "Embedded\nMATLAB Function1"
DstPort 2
}
}
Line {
SrcBlock "In2"
SrcPort 1
Points [0, 0; 0, -15]
Branch {
Points [0, -35]
Branch {
DstBlock "Tapped Delay3"
DstPort 1
}
Branch {
Points [-390, 0; 0, -45]
DstBlock "Math\nFunction1"
DstPort 1
}
}
Branch {
DstBlock "Scope1"
DstPort 3
}
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Tapped Delay2"
DstPort 1
}
Branch {
Points [0, -55; -395, 0; 0, 35]
DstBlock "Math\nFunction"
DstPort 1
}
}
Line {
SrcBlock "Embedded\nMATLAB Function2"
SrcPort 2
Points [0, -5; 75, 0]
Branch {
Points [0, -95; -115, 0]
DstBlock "Scope4"
DstPort 2
}
Branch {
DstBlock "msg_I_r"
DstPort 1
}
}
Line {
SrcBlock "Embedded\nMATLAB Function2"
SrcPort 3
Points [0, 0]
Branch {
Points [10, 0; 0, 25]
DstBlock "Scope1"
DstPort 1
}
Branch {
Points [0, 190]
DstBlock "msg_Q_r"
DstPort 1
}
}
Line {
SrcBlock "Tapped Delay2"
SrcPort 1
DstBlock "Sample\nand Hold"
DstPort 1
}
Line {
SrcBlock "Tapped Delay3"
SrcPort 1
DstBlock "Sample\nand Hold1"
DstPort 1
}
Line {
SrcBlock "Embedded\nMATLAB Function2"
SrcPort 1
Points [0, 0]
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [1, 2]
Position [755, 165, 795, 225]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Subsystem1"
Location [680, 242, 945, 418]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [75, 25, 105, 40]
Orientation "down"
IconDisplay "Port number"
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [105, 52, 135, 83]
ShowName off
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [105, 112, 135, 143]
ShowName off
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Raised Cosine\nReceive Filter1"
Ports [1, 1]
Position [150, 51, 180, 89]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag4"
SourceBlock "commfilt2/Raised Cosine\nReceive Filter"
SourceType "Raised Cosine Receive Filter"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
filtType "Square root"
N "8"
D "2"
R "0.5"
sampMode "Sample-based"
rateMode "None"
downFactor "1"
downOffset "0"
checkGain "Normalized"
filterGain "1"
checkCoeff off
variableName "rcRxFilt1"
launchFVT off
}
Block {
BlockType Reference
Name "Raised Cosine\nReceive Filter2"
Ports [1, 1]
Position [155, 111, 185, 149]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag5"
SourceBlock "commfilt2/Raised Cosine\nReceive Filter"
SourceType "Raised Cosine Receive Filter"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
filtType "Square root"
N "8"
D "2"
R "0.5"
sampMode "Sample-based"
rateMode "None"
downFactor "1"
downOffset "0"
checkGain "Normalized"
filterGain "1"
checkCoeff off
variableName "rcRxFilt2"
launchFVT off
}
Block {
BlockType Sin
Name "cos Wave1"
Description "cos"
Ports [0, 1]
Position [25, 60, 55, 90]
ShowName off
SineType "Sample based"
Frequency "3200*2*pi"
Samples "8"
Offset "6"
SampleTime "1/25600"
VectorParams1D off
}
Block {
BlockType Sin
Name "cos Wave3"
Description "cos"
Ports [0, 1]
Position [25, 115, 55, 145]
ShowName off
SineType "Sample based"
Frequency "3200*2*pi"
Samples "8"
Offset "4"
SampleTime "1/25600"
VectorParams1D off
}
Block {
BlockType Outport
Name "Out1"
Position [205, 63, 235, 77]
IconDisplay "Port number"
}
Block {
BlockType Outport
Name "Out2"
Position [210, 123, 240, 137]
Port "2"
IconDisplay "Port
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -