?? bpsnrzmf.mdl
字號:
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "in_1"
Position [15, 55, 35, 75]
}
Block {
BlockType Constant
Name "Constant"
Position [15, 110, 45, 140]
Value "0"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [65, 70, 100, 105]
Inputs "2"
}
Block {
BlockType "S-Function"
Name "Plot1"
Ports [1]
Position [130, 70, 200, 110]
FunctionName "eyediasi"
Parameters "time_range, boundary, kept_length, eye_"
"line, scatter_line, two_d_line"
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Plot1"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "in_1"
SrcPort 1
Points [5, 0; 0, 15]
DstBlock "Mux"
DstPort 1
}
}
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Eye pattern\nreceiver"
DstPort 1
}
Line {
SrcBlock "in_1"
SrcPort 1
DstBlock "Switch"
DstPort 1
}
Line {
SrcBlock "Step input"
SrcPort 1
Points [15, 0; 0, -35]
DstBlock "Switch"
DstPort 2
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [35, 0]
DstBlock "Switch"
DstPort 3
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [25, 0]
Branch {
Points [10, 0]
DstBlock "Trajectory\nreceiver"
DstPort 1
}
Branch {
Points [0, 75]
DstBlock "Scatter plot\nreceiver"
DstPort 1
}
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [10, 0; 0, -20]
Branch {
Points [0, -75]
DstBlock "Mux"
DstPort 1
}
Branch {
DstBlock "Mux1"
DstPort 2
}
}
Line {
SrcBlock "Switch"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Mux"
DstPort 2
}
Branch {
Points [0, 45]
DstBlock "Mux1"
DstPort 1
}
}
}
}
Block {
BlockType Scope
Name "s(t)"
Ports [1]
Position [175, 200, 205, 230]
Orientation "down"
Location [212, 436, 1147, 536]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "25.000000"
YMin "-2"
YMax "2"
DataFormat "Array"
}
Block {
BlockType Scope
Name "s_r(t)"
Ports [1]
Position [830, 180, 860, 210]
Orientation "down"
Location [192, 789, 1128, 889]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "25.000000"
YMin "-2"
YMax "2"
DataFormat "Array"
}
Block {
BlockType Scope
Name "sink signal v(t)"
Ports [1]
Position [990, 110, 1020, 140]
Location [211, 794, 1147, 894]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "25.000000"
YMin "-2"
YMax "2"
DataFormat "Array"
}
Block {
BlockType SubSystem
Name "threshold\ndetector"
Ports [1, 1]
Position [890, 112, 920, 138]
ShowPortLabels off
TreatAsAtomicUnit off
MaskType "Sign"
MaskDescription "y = sign(x)"
MaskHelp "Sign Function:\\n\\t\\t\\ty = 1 if x > 0\\n\\t"
"\\t\\ty = 0 if x = 0\\n\\t\\t\\ty = -1 if x < 0"
MaskDisplay "plot(-50,-50,50,50,[-50,50],[0,0],[0,0],[-50,50"
"],[-40,0],[-30,-30],[0,40],[30,30])"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "threshold\ndetector"
Location [159, 417, 467, 586]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "in_1"
Position [35, 30, 55, 50]
}
Block {
BlockType Constant
Name "Constant"
Position [65, 105, 85, 125]
Value "0"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator"
Position [140, 32, 170, 63]
Operator ">"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator1"
Position [140, 92, 170, 123]
Operator "<"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [215, 64, 235, 91]
Inputs "+-"
}
Block {
BlockType Outport
Name "out_1"
Position [265, 70, 285, 90]
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
Line {
SrcBlock "Relational\nOperator"
SrcPort 1
Points [10, 0; 0, 20]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Relational\nOperator1"
SrcPort 1
Points [10, 0; 0, -25]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Relational\nOperator1"
DstPort 2
}
Branch {
Points [0, -60]
DstBlock "Relational\nOperator"
DstPort 2
}
}
Line {
SrcBlock "in_1"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "Relational\nOperator"
DstPort 1
}
Branch {
Points [0, 60]
DstBlock "Relational\nOperator1"
DstPort 1
}
}
}
}
Block {
BlockType Scope
Name "transmitted signal u(t)"
Ports [1]
Position [445, 180, 475, 210]
Orientation "down"
Location [211, 534, 1147, 635]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "25.000000"
YMin "-2"
YMax "2"
SaveName "ScopeData1"
DataFormat "Array"
}
Block {
BlockType SubSystem
Name "transmitter\ndiagrams"
Ports [1]
Position [220, 15, 275, 55]
ShowPortLabels off
TreatAsAtomicUnit off
MaskType "Diagrams"
MaskDescription "Eye pattern, signal space trajectory and scatte"
"r plot."
MaskPromptString "Plot start time:|Samples per time slot (2*T):|D"
"ecision 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 "0|40|0"
System {
Name "transmitter\ndiagrams"
Location [475, 310, 844, 551]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "in_1"
Position [35, 40, 55, 60]
}
Block {
BlockType Constant
Name "Constant"
Position [35, 130, 55, 150]
Value "Inf"
}
Block {
BlockType Constant
Name "Constant1"
Position [130, 130, 150, 150]
Value "0"
}
Block {
BlockType SubSystem
Name "Eye pattern\ntransmitter"
Ports [1]
Position [275, 37, 330, 73]
CopyFcn "eyesampl([],[],[],'CopyBlock')"
DeleteFcn "eyesampl([],[],[],'DeleteBlock')"
LoadFcn "eyesampl([],[],[],'LoadBlock')"
StartFcn "eyesampl([],[],[],'Start')"
StopFcn "eyesampl([],[],[],'Stop')"
NameChangeFcn "eyesampl([],[],[],'NameChange')"
ShowPortLabels off
TreatAsAtomicUnit off
MaskType "Eye-diagram/scatter plot"
MaskDescription "Produce eye-pattern diagram and/or scatter "
"plot."
MaskHelp "This plot opens one, or two plots by assign"
"ing the line type parameters. The scatter plot point is selected by the decis"
"ion point in the first parameter entry. A decision line is drawn in the eye-p"
"attern diagram. The plot is updated at the plot update sample time point."
MaskPromptString "[Symbol interval, plot offset, decision poi"
"nt offset]:|Lower and upper bound of in-coming signal (1x2 vector):|Number of"
" saved traces:|Line-type for eye-pattern diagram (0 for no plot):|Line-type f"
"or 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;ey"
"e_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/anz"
"ahl"
System {
Name "Eye pattern\ntransmitter"
Location [121, 409, 416, 595]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "in_1"
Position [75, 80, 95, 100]
}
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"
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -