?? csk.mdl
字號:
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-12"
YMax "-5.5"
SaveName "ScopeData18"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Outport
Name "Out1"
Position [480, 118, 510, 132]
IconDisplay "Port number"
}
Line {
SrcBlock "In1"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Gain1"
DstPort 1
}
Branch {
Points [0, 0]
DstBlock "Scope 1"
DstPort 1
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Discrete-Time\nIntegrator1"
DstPort 1
}
Line {
SrcBlock "Pulse\nGenerator"
SrcPort 1
Points [0, -25]
DstBlock "Discrete-Time\nIntegrator1"
DstPort 2
}
Line {
SrcBlock "Pulse\nGenerator3"
SrcPort 1
DstBlock "Sample\nand Hold1"
DstPort trigger
}
Line {
SrcBlock "Discrete-Time\nIntegrator1"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Sample\nand Hold1"
DstPort 1
}
Branch {
DstBlock "Scope 2"
DstPort 1
}
}
Line {
SrcBlock "Sample\nand Hold1"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Out1"
DstPort 1
}
Branch {
Points [0, -75]
DstBlock "Scope 3"
DstPort 1
}
}
}
}
Block {
BlockType Reference
Name "Cross\nCorrelator"
Ports [2]
Position [15, 77, 45, 108]
Orientation "left"
NamePlacement "alternate"
SourceBlock "simulink_extras/Additional\nSinks/Cross\nCorrelator"
SourceType "Cross Correlator"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
npts "100"
HowOften "50"
sampleT "0.1"
}
Block {
BlockType SubSystem
Name "Data signal"
Ports [0, 1]
Position [100, 165, 140, 225]
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Data signal"
Location [62, 218, 520, 501]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [110, 160, 140, 190]
Value "-1"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Constant1"
Position [105, 25, 135, 55]
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType RandomNumber
Name "Random\nNumber"
Position [25, 90, 55, 120]
SampleTime "2"
}
Block {
BlockType Scope
Name "Scope4"
Ports [1]
Position [110, 224, 140, 256]
Floating off
Location [88, 209, 523, 579]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Switch
Name "Switch1"
Position [175, 90, 205, 120]
Criteria "u2 > Threshold"
InputSameDT off
SampleTime ".15"
}
Block {
BlockType Outport
Name "Out1"
Position [245, 98, 275, 112]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [5, 0; 0, -60]
DstBlock "Switch1"
DstPort 3
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [10, 0; 0, 55]
DstBlock "Switch1"
DstPort 1
}
Line {
SrcBlock "Random\nNumber"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Switch1"
DstPort 2
}
Branch {
Points [0, 135]
DstBlock "Scope4"
DstPort 1
}
}
Line {
SrcBlock "Switch1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Display
Name "Display"
Ports [1]
Position [966, 555, 1064, 620]
Orientation "down"
NamePlacement "alternate"
Decimation "1"
Lockdown off
SampleTime ".15"
}
Block {
BlockType Reference
Name "Error Rate\nCalculation"
Ports [2, 1]
Position [965, 445, 1060, 535]
Orientation "down"
NamePlacement "alternate"
SourceBlock "commsink2/Error Rate\nCalculation"
SourceType "Error Rate Calculation"
N "1"
st_delay "0"
cp_mode "Entire frame"
subframe "[]"
PMode "Port"
WsName "ErrorVec"
RsMode2 off
stop off
numErr "100"
maxBits "1e6"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [630, 291, 675, 324]
InputSameDT off
OutDataType "sfix(16)"
OutScaling "2^0"
RndMeth "Floor"
SampleTime ".15"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [625, 66, 670, 99]
InputSameDT off
OutDataType "sfix(16)"
OutScaling "2^0"
RndMeth "Floor"
SampleTime ".15"
}
Block {
BlockType SubSystem
Name "Reproduced Chaotic signal 1"
Ports [0, 1]
Position [555, 45, 595, 105]
NamePlacement "alternate"
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Reproduced Chaotic signal 1"
Location [498, 151, 1234, 599]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [305, 60, 335, 90]
ShowName off
InitialCondition "1"
}
Block {
BlockType Integrator
Name "Integrator2"
Ports [1, 1]
Position [310, 330, 340, 360]
ShowName off
InitialCondition "1"
}
Block {
BlockType Integrator
Name "Integratr1"
Ports [1, 1]
Position [305, 160, 335, 190]
ShowName off
InitialCondition "1"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [95, 65, 115, 85]
ShowName off
IconShape "round"
Inputs "-+|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [3, 1]
Position [210, 165, 230, 185]
ShowName off
IconShape "round"
Inputs "--+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [210, 335, 230, 355]
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "a*(-x+y)"
Position [205, 60, 235, 90]
Gain "10"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "b*z"
Position [95, 330, 125, 360]
Gain "8/3"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "gain"
Position [435, 60, 465, 90]
Gain "5"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "r*x"
Position [95, 245, 125, 275]
Gain "28"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "x*y"
Ports [2, 1]
Position [95, 392, 125, 423]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "x*z"
Ports [2, 1]
Position [95, 157, 125, 188]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Out1"
Position [515, 68, 545, 82]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "a*(-x+y)"
DstPort 1
}
Line {
SrcBlock "a*(-x+y)"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "x*z"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Integratr1"
DstPort 1
}
Line {
SrcBlock "r*x"
SrcPort 1
Points [90, 0]
DstBlock "Sum1"
DstPort 3
}
Line {
SrcBlock "x*y"
SrcPort 1
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -