📄 fskber.mdl
字号:
Model {
Name "fskber"
Version 3.00
SimParamPage "Solver"
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 on
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 "Sun Dec 05 18:15:24 1999"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Sun Dec 12 11:34:51 1999"
ModelVersionFormat "1.%<AutoIncrement:5>"
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 "fskber"
Location [346, 92, 846, 393]
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 SignalGenerator
Name "Digital signal \nsource"
Position [45, 140, 75, 170]
WaveForm "square"
Amplitude "1"
Frequency "100"
Units "Hertz"
}
Block {
BlockType Display
Name "Display"
Ports [1, 0, 0, 0, 0]
Position [395, 140, 485, 170]
Format "short"
Decimation "1"
Floating off
SampleTime "-1"
}
Block {
BlockType Scope
Name "FSK 1"
Ports [1, 0, 0, 0, 0]
Position [300, 29, 330, 61]
Floating off
Location [457, 450, 781, 689]
Open on
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "0.01"
YMin "-2"
YMax "2"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Multiplied \nFSK"
Ports [1, 0, 0, 0, 0]
Position [325, 234, 355, 266]
Floating off
Location [120, 448, 444, 687]
Open on
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "0.01"
YMin "-2"
YMax "2"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1, 0, 0, 0]
Position [150, 88, 180, 112]
ShowName off
Inputs "2"
SaturateOnIntegerOverflow on
Port {
PortNumber 1
Name "Modulated\nInput"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1, 0, 0, 0]
Position [150, 203, 180, 227]
ShowName off
Inputs "2"
SaturateOnIntegerOverflow on
Port {
PortNumber 1
Name "Modulated\nInput"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1, 0, 0, 0]
Position [225, 143, 255, 167]
ShowName off
Inputs "2"
SaturateOnIntegerOverflow on
Port {
PortNumber 1
Name "Modulated\nInput"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType Reference
Name "Pulse\nGenerator"
Ports [0, 1, 0, 0, 0]
Position [245, 65, 275, 95]
SourceBlock "simulink3/Sources/Pulse\nGenerator"
SourceType "Pulse Generator"
period "0.0009"
duty "50"
amplitude "1"
start "0"
}
Block {
BlockType Reference
Name "Sample\nand Hold"
Ports [1, 1, 0, 1, 0]
Position [285, 134, 335, 176]
SourceBlock "dspswit2/Sample\nand Hold"
SourceType "Sample and Hold"
trig "Rising edge"
initCond "0"
Port {
PortNumber 1
Name "Upper\nSideband"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType Sin
Name "Sine Wave"
Position [80, 30, 110, 60]
Amplitude "1"
Frequency "1000*2*3.14"
Phase "0"
SampleTime "1/20000"
}
Block {
BlockType Sin
Name "Sine Wave1"
Position [60, 245, 90, 275]
Amplitude "1"
Frequency "2000*2*3.14"
Phase "0"
SampleTime "1/20000"
}
Line {
SrcBlock "Digital signal \nsource"
SrcPort 1
Points [0, 0]
Branch {
Points [0, -50]
DstBlock "Product1"
DstPort 2
}
Branch {
Points [0, 55]
DstBlock "Product2"
DstPort 1
}
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
Points [20, 0]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Sine Wave1"
SrcPort 1
Points [40, 0]
DstBlock "Product2"
DstPort 2
}
Line {
Name "Modulated\nInput"
Labels [0, 0]
SrcBlock "Product1"
SrcPort 1
Points [5, 0]
Branch {
Points [0, -55]
DstBlock "FSK 1"
DstPort 1
}
Branch {
Points [15, 0; 0, 50]
DstBlock "Product3"
DstPort 1
}
}
Line {
Name "Modulated\nInput"
Labels [0, 0]
SrcBlock "Product2"
SrcPort 1
Points [20, 0; 0, -55]
DstBlock "Product3"
DstPort 2
}
Line {
SrcBlock "Pulse\nGenerator"
SrcPort 1
Points [30, 0]
DstBlock "Sample\nand Hold"
DstPort trigger
}
Line {
Name "Upper\nSideband"
Labels [0, 0]
SrcBlock "Sample\nand Hold"
SrcPort 1
DstBlock "Display"
DstPort 1
}
Line {
Name "Modulated\nInput"
Labels [0, 0]
SrcBlock "Product3"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Sample\nand Hold"
DstPort 1
}
Branch {
Points [0, 95]
DstBlock "Multiplied \nFSK"
DstPort 1
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -