📄 msk.mdl
字号:
Floating off
Location [360, 340, 1280, 440]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "25.000000"
YMin "-2.000000"
YMax "2.000000"
DataFormat "Array"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "receiver diagrams"
Ports [2]
Position [580, 15, 635, 55]
ShowPortLabels off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskType "2D-Diagrams"
MaskDescription "Eye pattern, signal space trajectory and sc"
"atter plot"
MaskPromptString "Plot start time:|Samples per time slot (2*T"
"):|Decision offset:"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
MaskToolTipString "on,on,on"
MaskVarAliasString ",,"
MaskVariables "starttime=@1;anzahl=@2;offset=@3;"
MaskInitialization " [x, y] = srcsicon(10);"
MaskDisplay "plot(0,0,100,100,x,y)"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "2|40|0.075"
MaskTabNameString ",,"
System {
Name "receiver diagrams"
Location [74, 224, 486, 526]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.196850, 0.196850, 0.196850, 0.196850]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "Inphase"
Position [30, 25, 50, 45]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Quadratur"
Position [30, 80, 50, 100]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Constant
Name "Constant"
Position [90, 125, 110, 145]
Orientation "up"
ShowName off
Value "Inf"
VectorParams1D on
SamplingMode "Sample based"
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
SampleTime "inf"
FramePeriod "inf"
}
Block {
BlockType Constant
Name "Constant0"
Position [190, 125, 210, 145]
Orientation "up"
ShowName off
Value "0"
VectorParams1D on
SamplingMode "Sample based"
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
SampleTime "inf"
FramePeriod "inf"
}
Block {
BlockType SubSystem
Name "Inphase eye pattern\nreceiver"
Ports [1]
Position [305, 12, 360, 48]
CopyFcn "eyesampl([],[],[],'CopyBlock')"
DeleteFcn "eyesampl([],[],[],'DeleteBlock')"
LoadFcn "eyesampl([],[],[],'LoadBlock')"
StartFcn "eyesampl([],[],[],'Start')"
StopFcn "eyesampl([],[],[],'Stop')"
NameChangeFcn "eyesampl([],[],[],'NameChange')"
ShowPortLabels off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskType "Eye-diagram/scatter plot"
MaskDescription "Produce eye-pattern diagram and/or scat"
"ter plot."
MaskHelp "This plot opens one, or two plots by as"
"signing the line type parameters. The scatter plot point is selected by the d"
"ecision point in the first parameter entry. A decision line is drawn in the e"
"ye-pattern diagram. The plot is updated at the plot update sample time point."
MaskPromptString "[Symbol interval, plot offset, decision"
" point offset]:|Lower and upper bound of in-coming signal (1x2 vector):|Numbe"
"r of saved traces:|Line-type for eye-pattern diagram (0 for no plot):|Line-ty"
"pe for scatter plot (0 for no plot):|Plot update sample time:"
MaskStyleString "edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on"
MaskCallbackString "|||||"
MaskEnableString "on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on"
MaskVarAliasString ",,,,,"
MaskInitialization "time_range=@1;boundary=@2;kept_length=@"
"3;eye_line=@4;scatter_line=@5;two_d_line=@6;[x,y]=srcsicon(10);"
MaskDisplay "plot(0,0,100,100,x,y);"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "[2 0 1+offset]|[-1.5 1.5]|0|'w-/r-'|0|2"
"/anzahl"
MaskTabNameString ",,,,,"
System {
Name "Inphase eye pattern\nreceiver"
Location [121, 409, 416, 595]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins "[0.196850, 0.196850, 0.196850, 0.1968"
"50]"
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "in_1"
Position [75, 80, 95, 100]
IconDisplay "Port number"
}
Block {
BlockType "S-Function"
Name "Plot1"
Ports [1]
Position [130, 70, 200, 110]
FunctionName "eyesampl"
Parameters "time_range, boundary, kept_length, "
"eye_line, scatter_line, two_d_line"
}
Line {
SrcBlock "in_1"
SrcPort 1
DstBlock "Plot1"
DstPort 1
}
}
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [230, 21, 265, 54]
Inputs "2"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [230, 76, 265, 109]
Inputs "2"
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1]
Position [230, 146, 265, 179]
Inputs "2"
}
Block {
BlockType Mux
Name "Mux3"
Ports [2, 1]
Position [230, 211, 265, 244]
Inputs "2"
}
Block {
BlockType SubSystem
Name "Quadrature eye pattern\nreceiver"
Ports [1]
Position [305, 77, 360, 113]
CopyFcn "eyesampl([],[],[],'CopyBlock')"
DeleteFcn "eyesampl([],[],[],'DeleteBlock')"
LoadFcn "eyesampl([],[],[],'LoadBlock')"
StartFcn "eyesampl([],[],[],'Start')"
StopFcn "eyesampl([],[],[],'Stop')"
NameChangeFcn "eyesampl([],[],[],'NameChange')"
ShowPortLabels off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskType "Eye-diagram/scatter plot"
MaskDescription "Produce eye-pattern diagram and/or scat"
"ter plot."
MaskHelp "This plot opens one, or two plots by as"
"signing the line type parameters. The scatter plot point is selected by the d"
"ecision point in the first parameter entry. A decision line is drawn in the e"
"ye-pattern diagram. The plot is updated at the plot update sample time point."
MaskPromptString "[Symbol interval, plot offset, decision"
" point offset]:|Lower and upper bound of in-coming signal (1x2 vector):|Numbe"
"r of saved traces:|Line-type for eye-pattern diagram (0 for no plot):|Line-ty"
"pe for scatter plot (0 for no plot):|Plot update sample time:"
MaskStyleString "edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on"
MaskCallbackString "|||||"
MaskEnableString "on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on"
MaskVarAliasString ",,,,,"
MaskInitialization "time_range=@1;boundary=@2;kept_length=@"
"3;eye_line=@4;scatter_line=@5;two_d_line=@6;[x,y]=srcsicon(10);"
MaskDisplay "plot(0,0,100,100,x,y);"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "[2 0 1+offset]|[-1.5 1.5]|0|'w-/r-'|0|2"
"/anzahl"
MaskTabNameString ",,,,,"
System {
Name "Quadrature eye pattern\nreceiver"
Location [121, 409, 416, 595]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins "[0.196850, 0.196850, 0.196850, 0.1968"
"50]"
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "in_1"
Position [75, 80, 95, 100]
IconDisplay "Port number"
}
Block {
BlockType "S-Function"
Name "Plot1"
Ports [1]
Position [130, 70, 200, 110]
FunctionName "eyesampl"
Parameters "time_range, boundary, kept_length, "
"eye_line, scatter_line, two_d_line"
}
Line {
SrcBlock "in_1"
SrcPort 1
DstBlock "Plot1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Scatter plot\nreceiver"
Ports [1]
Position [305, 223, 360, 257]
CopyFcn "eyesampl([],[],[],'CopyBlock')"
DeleteFcn "eyesampl([],[],[],'DeleteBlock')"
LoadFcn "eyesampl([],[],[],'LoadBlock')"
StartFcn "eyesampl([],[],[],'Start')"
StopFcn "eyesampl([],[],[],'Stop')"
NameChangeFcn "eyesampl([],[],[],'NameChange')"
ShowPortLabels off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskType "Eye-diagram/scatter plot"
MaskDescription "Produce eye-pattern diagram and/or scat"
"ter plot."
MaskHelp "This plot opens one, or two plots by as"
"signing the line type parameters. The scatter plot point is selected by the d"
"ecision point in the first parameter entry. A decision line is drawn in the e"
"ye-pattern diagram. The plot is updated at the plot update sample time point."
MaskPromptString "[Symbol interval, plot offset, decision"
" point offset]:|Lower and upper bound of in-coming signal (1x2 vector):|Numbe"
"r of saved traces:|Line-type for eye-pattern diagram (0 for no plot):|Line-ty"
"pe for scatter plot (0 for no plot):|Plot update sample time:"
MaskStyleString "edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on"
MaskCallbackString "|||||"
MaskEnableString "on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on"
MaskVarAliasString ",,,,,"
MaskInitialization "time_range=@1;boundary=@2;kept_length=@"
"3;eye_line=@4;scatter_line=@5;two_d_line=@6;[x,y]=srcsicon(10);"
MaskDisplay "plot(0,0,100,100,x,y);"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "[1 .5 .999]|[-1.5 1.5]|0|0|'b.'|[.5 o"
"ffset]"
MaskTabNameString ",,,,,"
System {
Name "Scatter plot\nreceiver"
Location [165, 242, 460, 428]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins "[0.500000, 0.500000, 0.500000, 0.5000"
"00]"
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "in_1"
Position [75, 80, 95, 100]
IconDisplay "Port number"
}
Block {
BlockType "S-Function"
Name "Plot1"
Ports [1]
Position [130, 70, 200, 110]
FunctionName "eyesampl"
Parameters "time_range, boundary, kept_length, "
"eye_line, scatter_line, two_d_line"
}
Line {
SrcBlock "in_1"
SrcPort 1
DstBlock "Plot1"
DstPort 1
}
}
}
Block {
BlockType Step
Name "Step input"
Position [30, 125, 50, 145]
Time "starttime"
SampleTime "1"
}
Block {
BlockType Switch
Name "Switch"
Position [130, 29, 155, 61]
Threshold "1"
}
Block {
BlockType Switch
Name "Switch1"
Position [130, 84, 155, 116]
Threshold "1"
}
Block {
BlockType SubSystem
Name "Trajectory \nreceiver"
Ports [1]
Position [305, 157, 360, 193]
CopyFcn "eyediasi([],[],[],'CopyBlock')"
DeleteFcn "eyediasi([],[],[],'DeleteBlock')"
LoadFcn "eyediasi([],[],[],'LoadBlock')"
StartFcn "eyediasi([],[],[],'Start')"
StopFcn "eyediasi([],[],[],'Stop')"
NameChangeFcn "eyediasi([],[],[],'NameChange')"
ShowPortLabels off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskType "Eye-diagram/scatter plot"
MaskDescription "Produce eye-pattern diagram/scatter\npl"
"ot/x-y plot with the rising edge of the second input as the decision line."
MaskHelp "This plot opens one, two, or three plot"
"s by assigning the line type parameters. The scatter plot point is selected b"
"y the rising edge of a trigger signal. A decision line is drawn at the rising"
" edge of the trigger signal."
MaskPromptString "Eye-pattern plot time frame:|Lower and "
"upper bound of in-coming signal (1x2 vector):|Number of saved traces:|Line-ty"
"pe for eye-pattern diagram (0 for no plot):|Line-type for scatter plot (0 for"
" no plot):|Line-type for x-y plot (0 for no plot):"
MaskStyleString "edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on"
MaskCallbackString "|||||"
MaskEnableString "on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on"
MaskVarAliasString ",,,,,"
MaskInitialization "time_range=@1;boundary=@2;kept_length=@"
"3;eye_line=@4;scatter_line=@5;two_d_line=@6;[x,y]=srcsicon(10);[v,w]=trigicon"
"(0,25,get_param(gcb,'orientation'),2);"
MaskDisplay "plot(0,0,100,100,x,y,v,w);"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "[2 0 1]|[-1.5 1.5]|0|0|0|'g-'"
MaskTabNameString ",,,,,"
System {
Name "Trajectory \nreceiver"
Location [165, 242, 460, 428]
Open off
ModelBrowserVisibility off
ModelBrowserWid
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -