📄 ar_model.mdl
字号:
SupportNonInlinedSFcns on
ExtMode off
ExtModeStaticAlloc off
ExtModeTesting off
ExtModeStaticAllocSize 1000000
ExtModeTransport 0
ExtModeMexFile "ext_comm"
RTWCAPISignals off
RTWCAPIParams off
RTWCAPIStates off
GenerateASAP2 off
}
PropName "Components"
}
}
PropName "Components"
}
Name "Configuration"
SimulationMode "normal"
CurrentDlgPage "Solver"
}
PropName "ConfigurationSets"
}
Simulink.ConfigSet {
$PropName "ActiveConfigurationSet"
$ObjectID 1
}
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType DiscreteFilter
Numerator "[1]"
Denominator "[1 2]"
SampleTime "1"
StateMustResolveToSignalObject off
RTWStateStorageClass "Auto"
Realization "auto"
}
Block {
BlockType DiscreteZeroPole
Zeros "[1]"
Poles "[0 1]"
Gain "[1]"
SampleTime "1"
StateMustResolveToSignalObject off
RTWStateStorageClass "Auto"
}
Block {
BlockType Inport
Port "1"
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
LatchByDelayingOutsideSignal off
LatchByCopyingInsideSignal off
Interpolate on
}
Block {
BlockType Mux
Inputs "4"
DisplayOption "none"
UseBusObject off
BusObject "BusObject"
NonVirtualBus off
}
Block {
BlockType Outport
Port "1"
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType RandomNumber
Mean "0"
Variance "1"
Seed "0"
SampleTime "-1"
VectorParams1D on
}
Block {
BlockType Scope
ModelBased off
TickLabels "OneTimeTick"
ZoomMode "on"
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "-1"
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType ToWorkspace
VariableName "simulink_output"
MaxDataPoints "1000"
Decimation "1"
SampleTime "0"
FixptAsFi off
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "arial"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "ar_model"
Location [2, 82, 1270, 749]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType DiscreteZeroPole
Name "AR process analyzer"
Position [795, 236, 920, 274]
Zeros "[0.2 -0.3]"
Poles "[0 0]"
Gain "1"
}
Block {
BlockType DiscreteZeroPole
Name "AR process analyzer1"
Position [795, 371, 920, 409]
Zeros "[0.4 -0.5]"
Poles "[0 0]"
Gain "1"
}
Block {
BlockType DiscreteFilter
Name "AR process generator"
Position [335, 236, 440, 274]
Numerator "[1 ]"
Denominator "[1 0.1 -0.06]"
}
Block {
BlockType Reference
Name "DocBlock"
Ports []
Position [227, 445, 267, 484]
ForegroundColor "red"
BackgroundColor "green"
ShowName off
UserDataPersistent on
UserData "DataTag0"
FontSize 10
SourceBlock "simulink/Model-Wide\nUtilities/DocBlock"
SourceType "DocBlock"
ShowPortLabels on
DocumentType "Text"
}
Block {
BlockType RandomNumber
Name "Random\nNumber"
Position [225, 240, 255, 270]
SampleTime "1"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [530, 119, 560, 151]
Floating off
Location [289, 308, 613, 547]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [1010, 164, 1040, 196]
Floating off
Location [289, 308, 613, 547]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [1030, 464, 1060, 496]
Floating off
Location [289, 308, 613, 547]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Reference
Name "Signal To\nWorkspace"
Ports [1]
Position [1165, 238, 1220, 272]
ForegroundColor "red"
FontName "Arial"
SourceBlock "dspsnks4/Signal To\nWorkspace"
SourceType "Signal To Workspace"
ShowPortLabels on
VariableName "yout"
MaxDataPoints "inf"
Decimation "1"
FrameMode "Concatenate frames (2-D array)"
FixptAsFi off
}
Block {
BlockType Reference
Name "Signal To\nWorkspace1"
Ports [1]
Position [1170, 373, 1225, 407]
ForegroundColor "red"
FontName "Arial"
SourceBlock "dspsnks4/Signal To\nWorkspace"
SourceType "Signal To Workspace"
ShowPortLabels on
VariableName "yout1"
MaxDataPoints "inf"
Decimation "1"
FrameMode "Concatenate frames (2-D array)"
FixptAsFi off
}
Line {
SrcBlock "AR process generator"
SrcPort 1
Points [50, 0]
Branch {
Points [240, 0]
Branch {
DstBlock "AR process analyzer"
DstPort 1
}
Branch {
Points [0, 135]
DstBlock "AR process analyzer1"
DstPort 1
}
}
Branch {
Points [0, -120]
DstBlock "Scope"
DstPort 1
}
}
Line {
SrcBlock "AR process analyzer1"
SrcPort 1
Points [60, 0]
Branch {
Points [0, 90]
DstBlock "Scope2"
DstPort 1
}
Branch {
DstBlock "Signal To\nWorkspace1"
DstPort 1
}
}
Line {
SrcBlock "AR process analyzer"
SrcPort 1
Points [50, 0]
Branch {
Points [0, -75]
DstBlock "Scope1"
DstPort 1
}
Branch {
DstBlock "Signal To\nWorkspace"
DstPort 1
}
}
Line {
SrcBlock "Random\nNumber"
SrcPort 1
DstBlock "AR process generator"
DstPort 1
}
}
}
MatData {
NumRecords 1
DataRecord {
Tag DataTag0
Data " %)30 . 8 $ 8 ( ! % "
"\" $ \"8 0 1 , $ +T X0\"Y /L R@#D +, ]@\"U +T =P!O '( :"
"P!S ' 80!C &4 P #O -< ]P#7 -0 SP#@ +D V * '0 /0!X &, ;P!R '( * !Y &\\ =0!T "
"\"P >0!O '4 = I #L \"@!K #T > !C &\\ <@!R \"@ >0!O '4 = Q \"P >0!O '4 = Q "
"\"D .P * ', =0!B ' ; !O '0 * R \"P ,0 L #$ *0 [ H < !L &\\ = H '0 *0 [ H"
" <P!U &( < !L &\\ = H #( + Q \"P ,@ I #L \"@!P &P ;P!T \"@ :P I #L \"@\"U ,"
", M0\"] +4 Q \"] .$ N0#[ +$ HP\"T .8 U #: &$ <@!? &T ;P!D &4 ; !? &8 :0!G -8 "
"T "
}
}
# Finite State Machines
#
# Stateflow Version 6.2 (R14SP2) dated Aug 4 2005, 10:13:39
#
#
Stateflow {
machine {
id 1
name "ar_model"
created "16-Jun-2008 16:27:03"
isLibrary 0
firstTarget 2
sfVersion 62014000
}
target {
id 2
name "sfun"
description "Default Simulink S-Function Target."
machine 1
linkNode [1 0 0]
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -