?? biterrormeas.mdl
字號(hào):
Model {
Name "biterrormeas"
Version 3.00
SimParamPage "Diagnostics"
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
ShowPortDataTypes off
StartTime "0.0"
StopTime "10.0"
SolverMode "Auto"
Solver "ode45"
RelTol "1e-3"
AbsTol "auto"
Refine "1"
MaxStep "auto"
InitialStep "auto"
FixedStep "auto"
MaxOrder 5
OutputOption "RefineOutputTimes"
OutputTimes "[]"
LoadExternalInput off
ExternalInput "[t, u]"
SaveTime on
TimeSaveName "tout"
SaveState off
StateSaveName "xout"
SaveOutput on
OutputSaveName "yout"
LoadInitialState off
InitialState "xInitial"
SaveFinalState off
FinalStateName "xFinal"
SaveFormat "Matrix"
LimitMaxRows off
MaxRows "1000"
Decimation "1"
AlgebraicLoopMsg "warning"
MinStepSizeMsg "warning"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
InheritedTsInSrcMsg "warning"
IntegerOverflowMsg "warning"
UnnecessaryDatatypeConvMsg "none"
Int32ToFloatConvMsg "warning"
SignalLabelMismatchMsg "none"
ConsistencyChecking "off"
ZeroCross on
SimulationMode "normal"
BlockDataTips on
BlockParametersDataTip on
BlockAttributesDataTip off
BlockPortWidthsDataTip off
BlockDescriptionStringDataTip off
BlockMaskParametersDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
OptimizeBlockIOStorage off
BufferReuse on
BooleanDataType off
RTWSystemTargetFile "grt.tlc"
RTWInlineParameters off
RTWRetainRTWFile off
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "oneshot"
ExtModeTrigPort "1"
ExtModeTrigElement "any"
ExtModeTrigDuration 1000
ExtModeTrigHoldOff 0
ExtModeTrigDelay 0
ExtModeTrigDirection "rising"
ExtModeTrigLevel 0
ExtModeArchiveMode "off"
ExtModeAutoIncOneShot off
ExtModeIncDirWhenArm off
ExtModeAddSuffixToVar off
ExtModeWriteAllDataToWs off
ExtModeArmWhenConnect off
Created "Sat Nov 20 14:39:04 1999"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Sat Nov 20 16:07:41 1999"
ModelVersionFormat "1.%<AutoIncrement:4>"
ConfigurationManager "none"
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
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 "biterrormeas"
Location [313, 138, 993, 491]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
ReportName "simulink-default.rpt"
Block {
BlockType Display
Name "Bit Error Details"
Ports [1, 0, 0, 0, 0]
Position [510, 185, 600, 265]
Format "short"
Decimation "1"
Floating off
SampleTime "-1"
}
Block {
BlockType Display
Name "Bit Error Rate"
Ports [1, 0, 0, 0, 0]
Position [575, 15, 665, 95]
Format "short"
Decimation "1"
Floating off
SampleTime "-1"
}
Block {
BlockType DiscretePulseGenerator
Name "Discrete Pulse\nGenerator"
Position [70, 155, 100, 185]
Amplitude "1"
Period "2"
PulseWidth "1"
PhaseDelay "0"
SampleTime "1/5000"
}
Block {
BlockType Reference
Name "Error Rate Calculation1"
Ports [2, 1, 0, 0, 0]
Position [465, 33, 545, 77]
SourceBlock "commsink/Error Rate Calculation"
SourceType "Error Rate Calculation"
Ts "td"
N "1"
PMode "Port"
WsName "ErrorVec"
RsMode2 off
}
Block {
BlockType Reference
Name "Gaussian noise\ngenerator"
Ports [0, 1, 0, 0, 0]
Position [60, 238, 140, 282]
SourceBlock "commsource/Gaussian noise\ngenerator"
SourceType "Gaussian noise generator"
m "[0 1]"
d "[1 2]"
s "[100 200]"
Ts "1/5000"
}
Block {
BlockType SubSystem
Name "Limiter"
Ports [1, 1, 0, 0, 0]
Position [355, 204, 415, 246]
ShowPortLabels on
System {
Name "Limiter"
Location [37, 278, 257, 360]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "In1"
Position [25, 33, 55, 47]
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Signum
Name "Sign1"
Position [50, 25, 80, 55]
}
Block {
BlockType Reference
Name "Slider\nGain"
Ports [1, 1, 0, 0, 0]
Position [110, 25, 140, 55]
SourceBlock "simulink3/Math/Slider\nGain"
SourceType "Slider Gain"
low "0"
gain "1"
high "5"
}
Block {
BlockType Outport
Name "Out1"
Position [165, 33, 195, 47]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Sign1"
SrcPort 1
DstBlock "Slider\nGain"
DstPort 1
}
Line {
SrcBlock "Slider\nGain"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [-25, 10]
DstBlock "Sign1"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Sample\nand Hold"
Ports [1, 1, 0, 1, 0]
Position [260, 204, 310, 246]
SourceBlock "dspswit2/Sample\nand Hold"
SourceType "Sample and Hold"
trig "Rising edge"
initCond "0"
}
Block {
BlockType Scope
Name "Scope"
Ports [0, 0, 0, 0, 0]
Position [630, 224, 660, 256]
Floating on
Location [119, 400, 867, 731]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "0.008999999999999999"
YMin "-1"
YMax "1"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1, 0, 0, 0]
Position [210, 215, 230, 235]
ShowName off
IconShape "round"
Inputs "|+|+"
SaturateOnIntegerOverflow on
}
Line {
SrcBlock "Error Rate Calculation1"
SrcPort 1
DstBlock "Bit Error Rate"
DstPort 1
}
Line {
SrcBlock "Gaussian noise\ngenerator"
SrcPort 1
Points [75, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Discrete Pulse\nGenerator"
SrcPort 1
Points [89, 0]
Branch {
Points [0, 43]
DstBlock "Sum"
DstPort 1
}
Branch {
Points [0, -125]
DstBlock "Error Rate Calculation1"
DstPort 1
}
Branch {
Points [91, 0]
DstBlock "Sample\nand Hold"
DstPort trigger
}
}
Line {
SrcBlock "Sample\nand Hold"
SrcPort 1
DstBlock "Limiter"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Sample\nand Hold"
DstPort 1
}
Line {
SrcBlock "Limiter"
SrcPort 1
Points [40, 0]
Branch {
DstBlock "Bit Error Details"
DstPort 1
}
Branch {
Points [-10, 0]
DstBlock "Error Rate Calculation1"
DstPort 2
}
}
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -