📄 simulink_5.mdl
字号:
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Gain
Name "B"
Position [255, 315, 295, 355]
Orientation "left"
NamePlacement "alternate"
Gain "0.15"
}
Block {
BlockType Constant
Name "Constant"
Position [465, 255, 495, 285]
Value "j"
}
Block {
BlockType Fcn
Name "Function"
Position [255, 200, 315, 230]
Expr "sqrt(u)"
}
Block {
BlockType Math
Name "Intensity"
Ports [1, 1]
Position [410, 225, 440, 255]
Operator "magnitude^2"
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [595, 235, 625, 275]
}
Block {
BlockType Memory
Name "Memory"
Position [205, 320, 235, 350]
Orientation "left"
NamePlacement "alternate"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [515, 224, 565, 286]
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [315, 316, 360, 349]
Orientation "left"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [545, 114, 575, 146]
Location [5, 53, 1029, 743]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
DataFormat "StructureWithTime"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [340, 194, 370, 281]
NamePlacement "alternate"
ShowName off
}
Block {
BlockType SubSystem
Name "Tent Input"
Tag "STV Subsys"
Ports [0, 1]
Position [155, 195, 230, 235]
CopyFcn "sigbuilder_block('copy');"
DeleteFcn "sigbuilder_block('delete');"
ModelCloseFcn "sigbuilder_block('modelClose');"
PreSaveFcn "sigbuilder_block('preSave');"
StartFcn "sigbuilder_block('start');"
StopFcn "sigbuilder_block('stop');"
NameChangeFcn "sigbuilder_block('namechange');"
ClipboardFcn "sigbuilder_block('clipboard');"
OpenFcn "sigbuilder_block('open',[50 50 520 400 ]);"
CloseFcn "sigbuilder_block('close');"
TreatAsAtomicUnit off
MaskType "Sigbuilder block"
MaskDescription "Sigbuilder GUI"
MaskInitialization "if ~strcmp(get_param(bdroot(gcb),'SimulationSta"
"tus'),'stopped') tuvar = sigbuilder_block('maskInit'); end"
MaskDisplay "plot(0,0,100,100,[10,10,40,40,10],[80,20,20,80,"
"80],[40,10],[50,50], [40,27,10],[65,72,56],[40,25,25,10],[28,28,43,43]);"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "port"
MaskIconUnits "autoscale"
System {
Name "Tent Input"
Location [480, 85, 980, 386]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Demux
Name "Demux"
Tag "STV Demux"
Ports [1, 1]
Position [150, 30, 160, 600]
Outputs "1"
}
Block {
BlockType FromWorkspace
Name "FromWs"
Tag "STV FromWs"
Position [30, 300, 115, 350]
VariableName "tuvar"
SampleTime "0"
SigBuilderData "DataTag0"
}
Block {
BlockType Outport
Name "Signal 1"
Tag "STV Outport"
Position [280, 30, 300, 40]
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [50, 0; 0, -280]
DstBlock "Signal 1"
DstPort 1
}
Line {
SrcBlock "FromWs"
SrcPort 1
Points [5, 0; 0, -10]
DstBlock "Demux"
DstPort 1
}
}
}
Line {
Labels [0, 0]
SrcBlock "Sum"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Intensity"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "Product2"
DstPort 1
}
}
Line {
SrcBlock "Intensity"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Product1"
DstPort 1
}
Branch {
Points [0, -110]
DstBlock "Scope"
DstPort 1
}
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "B"
DstPort 1
}
Line {
SrcBlock "B"
SrcPort 1
DstBlock "Memory"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
Points [40, 0; 0, 85]
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Memory"
SrcPort 1
Points [-50, 0; 0, -75]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Tent Input"
SrcPort 1
DstBlock "Function"
DstPort 1
}
Line {
SrcBlock "Function"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Annotation {
Name "Simple Fiber Ring Resonator"
Position [348, 165]
DropShadow on
FontSize 12
}
}
}
MatData {
NumRecords 1
DataRecord {
Tag DataTag0
Data " %)30 . \" H 8 ( @ % "
"\" $ ! 0 % 0 # $ !( 9W)I9%-E='1I;F< 8VAA;FYE;', "
" 87AE<P 8V]M;6]N 9&%T85-E= 9&%T85-E=$ED> #@ # "
" & \" 0 !0 @ ! @ $ ! $ &\\ ;@ . H 0 "
" 8 ( @ % \" $ ! 0 % 0 \"@ $ \"\" "
" >$1A=&$ 'E$871A !S=&5P6 <W1E<%D 'E-:6X !Y36%X "
" 8V]L;W( &QI;F53='EL90!L:6YE5VED=&@ ;&%B96P &]U=$EN9&5X !A;&Q"
"81&%T80 86QL641A=&$ X !( !@ @ & 4 ( 0 "
" , ! D 8 $!_0 0(] #@ $@ & "
"\" 8 !0 @ ! P $ \"0 !@ "
" \") . . 8 ( !@ % \" $ ! 0 "
" ) \" #@ #@ & \" 8 !0 @ ! "
"0 $ \"0 @ X P !@ @ & 4 ( "
" ! D #@ # & \" 8 !0 @ "
" $ \"0 . 2 8 ( !@ % \" "
" $ # 0 ) & $(^Z-FL^NH_ X P !"
"@ @ $ 4 ( 0 $ ! 0 @ M #@ #@ & "
" \" 8 !0 @ ! 0 $ \"0 @ #X/PX "
" ! !@ @ $ 4 ( 0 @ ! 0 0 4P!I &"
"< ;@!A &P ( Q X X !@ @ & 4 ( 0 $ ! "
" D ( \\#\\. > 8 ( 0 % \" $ ! "
" 0 . 2 8 ( !@ % \" $ # 0 "
" ) & ! ?T $\"/0 X !X !@ @ ! "
" 4 ( 0 $ ! X !( !@ @ & 4 ( 0"
" , ! D 8 B0 #@ + ! & "
" \" ( !0 @ ! 0 $ !0 $ L ! -P &-H86Y"
"N96QS >4QI;0 !L86)E;%!O<P &QA8F5L2 ;&%B96Q0871C: #@ #@ "
" & \" 8 !0 @ ! 0 $ \"0 @ #"
"P/PX ! !@ @ & 4 ( 0 ( ! D 0 "
" \\+\\ D0 X P !@ @ $ 4 ( 0 ( "
"! 0 ! !4 $P #@ #@ & \" 8 !0 @ ! 0 $"
" \"0 @ \" &\"*0 X X !@ @ & 4 ( "
"0 $ ! D ( @ !8BD . : $ 8 ( @ % "
" \" $ ! 0 % 0 \"0 $ D 9&ES<%1I;64 9&ES<$UO9&4 ;"
"6EN5&EM90 ;6%X5&EM90 X ! !@ @ & 4 ( 0 "
"( ! D 0 $\"/0 X X !@ @ & "
" 4 ( 0 $ ! D ( \\#\\. . 8 ( "
" !@ % \" $ ! 0 ) \" #@ #@ "
" & \" 8 !0 @ ! 0 $ \"0 @ $"
"\"/0 X X 0 !@ @ \" 4 ( 0 $ ! 4 ! . "
" 0 \"H !A8W1I=F5$:7-P261X '1I;65286YG90 ;F%M90 "
" . . 8 ( !@ % \" $ ! 0 ) \" "
" / _#@ $ & \" 8 !0 @ ! @ $ "
"\"0 ! 0(] #@ $ & \" 0 !0 @ "
"! !P $ ! X !' '( ;P!U ' ( Q #@ #@ & \" 8"
" !0 @ ! 0 $ \"0 @ #P/P"
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -