⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 amtrig.mdl

📁 一些matlabde 应用程序
💻 MDL
字号:
Model {
  Name			  "amtrig"
  Version		  3.00
  SimParamPage		  "Solver"
  SampleTimeColors	  off
  InvariantConstants	  off
  WideVectorLines	  off
  ShowLineWidths	  off
  ShowPortDataTypes	  off
  StartTime		  "0.0"
  StopTime		  "20"
  SolverMode		  "Auto"
  Solver		  "ode15s"
  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		  "Mon Jul 10 18:51:02 2000"
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  LastModifiedBy	  "obas"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Mon Jul 10 22:02:06 2000"
  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		    "amtrig"
    Location		    [248, 165, 921, 528]
    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		      SubSystem
      Name		      "AM Modulated\nSignal"
      Ports		      [0, 1, 0, 0, 0]
      Position		      [45, 70, 75, 120]
      ShowPortLabels	      on
      System {
	Name			"AM Modulated\nSignal"
	Location		[182, 243, 399, 382]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"automatic"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Sin
	  Name			  "Carrier Wave"
	  Position		  [15, 20, 45, 50]
	  Amplitude		  "1"
	  Frequency		  "100"
	  Phase			  "0"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [110, 47, 140, 78]
	  Inputs		  "2"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  SignalGenerator
	  Name			  "source"
	  Position		  [30, 95, 60, 125]
	  WaveForm		  "sawtooth"
	  Amplitude		  "1"
	  Frequency		  "15"
	  Units			  "Hertz"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Modulated\nSignal"
	  Position		  [175, 63, 205, 77]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "Carrier Wave"
	  SrcPort		  1
	  Points		  [45, 0]
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  Points		  [0, 5]
	  DstBlock		  "Modulated\nSignal"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "source"
	  SrcPort		  1
	  Points		  [30, 0]
	  DstBlock		  "Product"
	  DstPort		  2
	}
      }
    }
    Block {
      BlockType		      Sin
      Name		      "Carrier Wave"
      Position		      [95, 160, 125, 190]
      Amplitude		      "1"
      Frequency		      "100"
      Phase		      "0"
      SampleTime	      "0.005"
    }
    Block {
      BlockType		      Reference
      Name		      "Channel"
      Ports		      [1, 1, 0, 0, 0]
      Position		      [145, 70, 185, 120]
      SourceBlock	      "signallib/Channel"
      SourceType	      "SubSystem"
    }
    Block {
      BlockType		      DiscreteFilter
      Name		      "Discrete Filter"
      Position		      [310, 78, 415, 132]
      Numerator		      "[0.04 0.08 0.04]"
      Denominator	      "[1 -1.6 0.7]"
      SampleTime	      "0.005"
    }
    Block {
      BlockType		      Display
      Name		      "Display"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [540, 175, 630, 205]
      Format		      "short"
      Decimation	      "1"
      Floating		      off
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Fcn
      Name		      "Fcn"
      Position		      [475, 175, 520, 205]
      Expr		      "1/u"
    }
    Block {
      BlockType		      Product
      Name		      "Product"
      Ports		      [2, 1, 0, 0, 0]
      Position		      [255, 87, 285, 118]
      Inputs		      "2"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [520, 89, 550, 121]
      Floating		      off
      Location		      [188, 355, 512, 594]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-5"
      YMax		      "5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "StructureWithTime"
      LimitMaxRows	      on
      MaxRows		      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "SubSystem"
      Ports		      [0, 1, 0, 1, 0]
      Position		      [415, 174, 455, 206]
      ShowPortLabels	      on
      System {
	Name			"SubSystem"
	Location		[158, 172, 656, 408]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  TriggerPort
	  Name			  "Trigger"
	  Ports			  [0, 0, 0, 0, 0]
	  Position		  [190, 50, 210, 70]
	  TriggerType		  "either"
	  ShowOutputPort	  off
	  OutputDataType	  "auto"
	}
	Block {
	  BlockType		  DigitalClock
	  Name			  "Digital Clock"
	  Position		  [60, 123, 125, 147]
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [385, 125, 405, 145]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|-+"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Unit Delay"
	  Position		  [285, 115, 320, 155]
	  X0			  "0"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Unit Delay1"
	  Position		  [175, 115, 210, 155]
	  X0			  "0"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [465, 128, 495, 142]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "Unit Delay1"
	  SrcPort		  1
	  DstBlock		  "Unit Delay"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Unit Delay"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Digital Clock"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    DstBlock		    "Unit Delay1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 65; 255, 0]
	    DstBlock		    "Sum"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "AM Modulated\nSignal"
      SrcPort		      1
      DstBlock		      "Channel"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Channel"
      SrcPort		      1
      DstBlock		      "Product"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Carrier Wave"
      SrcPort		      1
      Points		      [110, 0]
      DstBlock		      "Product"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Product"
      SrcPort		      1
      DstBlock		      "Discrete Filter"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Discrete Filter"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"Scope"
	DstPort			1
      }
      Branch {
	DstBlock		"SubSystem"
	DstPort			trigger
      }
    }
    Line {
      SrcBlock		      "SubSystem"
      SrcPort		      1
      DstBlock		      "Fcn"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Fcn"
      SrcPort		      1
      DstBlock		      "Display"
      DstPort		      1
    }
    Annotation {
      Position		      [249, 260]
      Text		      "This version features a simple triggered subsys"
"tem\nto detect the frequency of the resultant signal.\nThis is a crude freque"
"ncy detector that will work\nup to 15 Hz.\n"
    }
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -