sysmdl_m.mdl
来自「线性调频信号通过匹配滤波器的程序 还有一些simulink仿真模型」· MDL 代码 · 共 235 行
MDL
235 行
Model { Name "sysmdl_m" Version 2.00 SimParamPage Solver SampleTimeColors off WideVectorLines off PaperOrientation landscape StartTime "0.0" StopTime "50.0" Solver ode23s RelTol "1e-3" AbsTol "1e-6" 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" LimitMaxRows off MaxRows "1000" Decimation "1" AlgebraicLoopMsg warning MinStepSizeMsg warning UnconnectedInputMsg warning UnconnectedOutputMsg warning UnconnectedLineMsg warning ConsistencyChecking off ZeroCross on 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 } System { Name "sysmdl_m" Location [168, 37, 547, 260] Open on ScreenColor white Block { BlockType Integrator Name "Compute\ntheta" Position [185, 85, 205, 125] ExternalReset none InitialConditionSource internal InitialCondition "pi/3" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Integrator Name "Compute\ntheta_dot" Position [120, 85, 140, 125] ExternalReset none InitialConditionSource internal InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType ElementaryMath Name "Elementary\nMath" Position [150, 160, 180, 190] Orientation left ShowName off Operator sin MaskIconFrame on MaskIconOpaque on MaskIconRotate off MaskIconUnits autoscale } Block { BlockType Mux Name "Mux" Position [265, 67, 300, 103] Inputs "2" } Block { BlockType Scope Name "Scope" Position [335, 70, 365, 100] Floating off Location [591, 30, 915, 269] Open on Grid on TickLabels on ZoomMode yonly TimeRange "50 " YMin "-1 " YMax "1.5 " SaveToWorkspace off SaveName "ScopeData" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Sum Name "Sum" Position [55, 87, 85, 118] Inputs "--" } Block { BlockType Gain Name "theta\ngain" Position [90, 160, 120, 190] Orientation left Gain "9.8" MaskIconFrame on MaskIconOpaque on MaskIconRotate off MaskIconUnits autoscale } Block { BlockType Gain Name "theta_dot\ngain" Position [115, 15, 145, 45] Orientation left Gain "c" MaskIconFrame on MaskIconOpaque on MaskIconRotate off MaskIconUnits autoscale } Line { SrcBlock "Compute\ntheta_dot" SrcPort 1 Points [15, 0] Branch { DstBlock "Compute\ntheta" DstPort 1 } Branch { Points [0, -35] Branch { DstBlock "theta_dot\ngain" DstPort 1 } Branch { Points [90, 0] DstBlock "Mux" DstPort 1 } } } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Compute\ntheta_dot" DstPort 1 } Line { SrcBlock "theta_dot\ngain" SrcPort 1 Points [-85, 0; 0, 65] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Scope" DstPort 1 } Line { SrcBlock "Compute\ntheta" SrcPort 1 Points [15, 0] Branch { Points [20, 0; 0, -10] DstBlock "Mux" DstPort 2 } Branch { Points [0, 70] DstBlock "Elementary\nMath" DstPort 1 } } Line { SrcBlock "Elementary\nMath" SrcPort 1 DstBlock "theta\ngain" DstPort 1 } Line { SrcBlock "theta\ngain" SrcPort 1 Points [-60, 0; 0, -65] DstBlock "Sum" DstPort 2 } }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?