?? csk.mdl
字號:
}
Line {
SrcBlock "gain"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Annotation {
Name "x"
Position [352, 69]
}
Annotation {
Name "y"
Position [350, 165]
}
Annotation {
Name "z"
Position [357, 335]
}
Annotation {
Name "r*x-y-x*z"
Position [250, 195]
}
Annotation {
Name "-b*z+x*y"
Position [250, 362]
}
Annotation {
Name "-x+y"
Position [108, 97]
}
}
}
Block {
BlockType Constant
Name "Constant"
Position [935, 115, 965, 145]
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Constant1"
Position [935, 225, 965, 255]
Value "-1"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType SubSystem
Name "Correlator1"
Ports [1, 1]
Position [755, 55, 795, 115]
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Correlator1"
Location [23, 434, 775, 762]
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 Inport
Name "In1"
Position [25, 118, 55, 132]
IconDisplay "Port number"
}
Block {
BlockType DiscreteIntegrator
Name "Discrete-Time\nIntegrator"
Ports [2, 1]
Position [195, 111, 290, 164]
IntegratorMethod "Integration: Trapezoidal"
ExternalReset "either"
InitialConditionSource "internal"
InitialCondition ".2"
SampleTime ".15"
OutDataType "sfix(16)"
OutScaling "2^0"
LimitOutput on
UpperSaturationLimit "1"
LowerSaturationLimit "0"
ICPrevOutput "DiscIntNeverNeededParam"
ICPrevScaledInput "DiscIntNeverNeededParam"
}
Block {
BlockType Gain
Name "Gain"
Position [105, 106, 150, 144]
Gain "0.01"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator1"
Ports [0, 1]
Position [115, 163, 160, 197]
PulseType "Time based"
PulseWidth "50"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator2"
Ports [0, 1]
Position [400, 15, 450, 60]
Orientation "down"
NamePlacement "alternate"
PulseType "Time based"
Period "1"
PulseWidth "50"
SampleTime "0"
}
Block {
BlockType Reference
Name "Sample\nand Hold"
Ports [1, 1, 0, 1]
Position [400, 119, 450, 161]
SourceBlock "dspsigops/Sample\nand Hold"
SourceType "Sample and Hold"
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"
trig "Falling edge"
initCond ".2"
latchinput off
}
Block {
BlockType Scope
Name "Scope 1"
Ports [1]
Position [495, 179, 525, 211]
Floating off
Location [255, 351, 762, 590]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-12"
YMax "-5.5"
SaveName "ScopeData12"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope 2"
Ports [1]
Position [325, 179, 355, 211]
Floating off
Location [116, 47, 623, 286]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-12"
YMax "-5.5"
SaveName "ScopeData13"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope 3"
Ports [1]
Position [480, 69, 510, 101]
Floating off
Location [644, 53, 1151, 292]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-12"
YMax "-5.5"
SaveName "ScopeData14"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope 4"
Ports [1]
Position [210, 224, 240, 256]
Floating off
Location [169, 434, 676, 673]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-12"
YMax "-5.5"
SaveName "ScopeData15"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope 5"
Ports [1]
Position [85, 39, 115, 71]
Floating off
Location [62, 418, 569, 657]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-12"
YMax "-5.5"
SaveName "ScopeData16"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope 6"
Ports [1]
Position [190, 39, 220, 71]
Floating off
Location [594, 423, 1101, 662]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-12"
YMax "-5.5"
SaveName "ScopeData17"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Outport
Name "Out1"
Position [515, 133, 545, 147]
IconDisplay "Port number"
}
Line {
SrcBlock "In1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
DstBlock "Scope 5"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Discrete-Time\nIntegrator"
DstPort 1
}
Branch {
Points [0, -70]
DstBlock "Scope 6"
DstPort 1
}
}
Line {
SrcBlock "Pulse\nGenerator1"
SrcPort 1
Points [0, -30; 10, 0]
Branch {
DstBlock "Discrete-Time\nIntegrator"
DstPort 2
}
Branch {
Points [0, 90]
DstBlock "Scope 4"
DstPort 1
}
}
Line {
SrcBlock "Discrete-Time\nIntegrator"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Sample\nand Hold"
DstPort 1
}
Branch {
DstBlock "Scope 2"
DstPort 1
}
}
Line {
SrcBlock "Pulse\nGenerator2"
SrcPort 1
Points [0, 20]
Branch {
DstBlock "Sample\nand Hold"
DstPort trigger
}
Branch {
DstBlock "Scope 3"
DstPort 1
}
}
Line {
SrcBlock "Sample\nand Hold"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Out1"
DstPort 1
}
Branch {
DstBlock "Scope 1"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "Correlator2"
Ports [1, 1]
Position [755, 280, 795, 340]
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Correlator2"
Location [59, 83, 775, 339]
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 Inport
Name "In1"
Position [25, 103, 55, 117]
IconDisplay "Port number"
}
Block {
BlockType DiscreteIntegrator
Name "Discrete-Time\nIntegrator1"
Ports [2, 1]
Position [185, 96, 285, 154]
IntegratorMethod "Integration: Trapezoidal"
ExternalReset "either"
InitialConditionSource "internal"
InitialCondition ".2"
SampleTime ".15"
OutDataType "sfix(16)"
OutScaling "2^0"
LimitOutput on
UpperSaturationLimit "1"
LowerSaturationLimit "0"
ICPrevOutput "DiscIntNeverNeededParam"
ICPrevScaledInput "DiscIntNeverNeededParam"
}
Block {
BlockType Gain
Name "Gain1"
Position [115, 91, 160, 129]
Gain "0.01"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator"
Ports [0, 1]
Position [115, 148, 160, 182]
PulseType "Time based"
PulseWidth "50"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator3"
Ports [0, 1]
Position [365, 30, 415, 75]
Orientation "down"
NamePlacement "alternate"
PulseType "Time based"
Period "1"
PulseWidth "50"
SampleTime "0"
}
Block {
BlockType Reference
Name "Sample\nand Hold1"
Ports [1, 1, 0, 1]
Position [365, 104, 415, 146]
SourceBlock "dspsigops/Sample\nand Hold"
SourceType "Sample and Hold"
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"
trig "Falling edge"
initCond ".2"
latchinput off
}
Block {
BlockType Scope
Name "Scope 1"
Ports [1]
Position [95, 19, 125, 51]
Floating off
Location [57, 372, 564, 611]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-12"
YMax "-5.5"
SaveName "ScopeData20"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope 2"
Ports [1]
Position [330, 184, 360, 216]
Floating off
Location [680, 47, 1187, 286]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-12"
YMax "-5.5"
SaveName "ScopeData19"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope 3"
Ports [1]
Position [475, 34, 505, 66]
Floating off
Location [771, 351, 1278, 590]
Open off
NumInputPorts "1"
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -