📄 c8mforc.mdl
字号:
ERTCustomFileBanners off
SupportAbsoluteTime on
LogVarNameModifier "rt_"
MatFileLogging on
MultiInstanceERTCode off
SupportNonFinite on
SupportComplex on
PurelyIntegerCode off
SupportContinuousTime on
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 "Helvetica"
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 DiscreteTransferFcn
Numerator "[1]"
Denominator "[1 0.5]"
SampleTime "1"
StateMustResolveToSignalObject off
RTWStateStorageClass "Auto"
Realization "auto"
}
Block {
BlockType Mux
Inputs "4"
DisplayOption "none"
BusObject "BusObject"
NonVirtualBus off
}
Block {
BlockType RandomNumber
Mean "0"
Variance "1"
Seed "0"
SampleTime "-1"
VectorParams1D on
}
Block {
BlockType Scope
Floating off
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 "0"
}
Block {
BlockType SignalGenerator
WaveForm "sine"
TimeSource "Use simulation time"
Amplitude "1"
Frequency "1"
Units "Hertz"
VectorParams1D on
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType ZeroOrderHold
SampleTime "1"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "c8mforc"
Location [191, 435, 920, 728]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "portrait"
PaperPositionMode "auto"
PaperType "a4letter"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType DiscreteTransferFcn
Name "Discrete\nTransfer Fcn"
Position [475, 111, 500, 149]
ShowName off
FontName "Times New Roman"
FontSize 14
Denominator "[1 0 0]"
SampleTime "-1"
}
Block {
BlockType DiscreteFilter
Name "Discrete Filter"
Position [140, 109, 235, 151]
ShowName off
FontName "Times New Roman"
FontSize 14
Numerator "[2]"
Denominator "[1 -0.6 0.4]"
SampleTime "-1"
}
Block {
BlockType DiscreteFilter
Name "Discrete Filter1"
Position [115, 195, 230, 235]
ShowName off
FontName "Times New Roman"
FontSize 14
Numerator "[0.8 0.6 0.4]"
Denominator "[1 -0.6 0.4]"
SampleTime "-1"
}
Block {
BlockType DiscreteFilter
Name "Discrete Filter2"
Position [295, 106, 425, 154]
ShowName off
FontName "Times New Roman"
FontSize 14
Numerator "[0.284 -0.324]"
Denominator "[0.8 0.6 0.4]"
SampleTime "-1"
}
Block {
BlockType DiscreteFilter
Name "Discrete Filter3"
Position [255, 37, 375, 83]
ShowName off
FontName "Times New Roman"
FontSize 14
Numerator "[1.6 2.16]"
Denominator "[0.8 0.6 0.4]"
SampleTime "-1"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [520, 121, 525, 159]
ShowName off
FontName "Times New Roman"
FontSize 14
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType RandomNumber
Name "Random\nNumber"
Position [35, 200, 65, 230]
FontName "Times New Roman"
FontSize 14
SampleTime "0.01"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [545, 124, 575, 156]
FontName "Times New Roman"
FontSize 14
Location [246, 86, 761, 517]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveToWorkspace on
SaveName "yy"
DataFormat "Array"
LimitDataPoints off
}
Block {
BlockType SignalGenerator
Name "Signal\nGenerator"
Ports [0, 1]
Position [30, 115, 60, 145]
FontName "Times New Roman"
FontSize 14
WaveForm "square"
Amplitude "4"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [250, 120, 270, 140]
ShowName off
FontName "Times New Roman"
FontSize 14
IconShape "round"
Inputs "|++"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [440, 120, 460, 140]
ShowName off
FontName "Times New Roman"
FontSize 14
IconShape "round"
Inputs "++|"
}
Block {
BlockType ZeroOrderHold
Name "ZOH"
Position [80, 111, 115, 149]
FontName "Times New Roman"
FontSize 14
SampleTime "0.01"
}
Line {
SrcBlock "Signal\nGenerator"
SrcPort 1
DstBlock "ZOH"
DstPort 1
}
Line {
SrcBlock "Random\nNumber"
SrcPort 1
DstBlock "Discrete Filter1"
DstPort 1
}
Line {
SrcBlock "Discrete Filter"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Discrete Filter1"
SrcPort 1
Points [25, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Discrete Filter2"
DstPort 1
}
Branch {
Points [0, 60; 225, 0]
DstBlock "Mux"
DstPort 2
}
}
Line {
SrcBlock "Discrete Filter2"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Discrete Filter3"
SrcPort 1
Points [70, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Discrete\nTransfer Fcn"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Discrete\nTransfer Fcn"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "ZOH"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Discrete Filter"
DstPort 1
}
Branch {
Points [0, -70]
DstBlock "Discrete Filter3"
DstPort 1
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -