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

📄 amlib.mdl

📁 matlab仿真程序
💻 MDL
字号:
Library {
  Name			  "amlib"
  Version		  4.00
  LibraryLinkDisplay	  "none"
  CovSaveName		  "covdata"
  CovNameIncrementing	  off
  CovHtmlReporting	  on
  BlockParametersDataTip  off
  BlockDescriptionStringDataTip	off
  ToolBar		  off
  StatusBar		  off
  BrowserShowLibraryLinks off
  BrowserLookUnderMasks	  off
  Created		  "Sun Aug 20 15:42:13 2000"
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  LastModifiedBy	  "obas"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Sun Aug 20 16:09:33 2000"
  ModelVersionFormat	  "1.%<AutoIncrement:3>"
  ConfigurationManager	  "none"
  DefaultBlockFontName	  "MS Sans Serif"
  DefaultBlockFontSize	  10
  DefaultBlockFontWeight  "normal"
  DefaultBlockFontAngle	  "normal"
  DefaultAnnotationFontName "MS Sans Serif"
  DefaultAnnotationFontSize 10
  DefaultAnnotationFontWeight "normal"
  DefaultAnnotationFontAngle "normal"
  DefaultLineFontName	  "MS Sans Serif"
  DefaultLineFontSize	  9
  DefaultLineFontWeight	  "normal"
  DefaultLineFontAngle	  "normal"
  SimParamPage		  "Solver"
  AlgebraicLoopMsg	  "warning"
  MinStepSizeMsg	  "warning"
  UnconnectedInputMsg	  "warning"
  UnconnectedOutputMsg	  "warning"
  UnconnectedLineMsg	  "warning"
  InheritedTsInSrcMsg	  "warning"
  SingleTaskRateTransMsg  "none"
  MultiTaskRateTransMsg	  "error"
  IntegerOverflowMsg	  "warning"
  CheckForMatrixSingularity "none"
  UnnecessaryDatatypeConvMsg "none"
  Int32ToFloatConvMsg	  "warning"
  SignalLabelMismatchMsg  "none"
  LinearizationMsg	  "none"
  VectorMatrixConversionMsg "none"
  SfunCompatibilityCheckMsg "none"
  BlockPriorityViolationMsg "warning"
  ArrayBoundsChecking	  "none"
  ConsistencyChecking	  "none"
  Profile		  off
  SimulationMode	  "normal"
  RTWRetainRTWFile	  off
  RTWMakeCommand	  "make_rtw"
  RTWGenerateCodeOnly	  off
  TLCProfiler		  off
  TLCDebug		  off
  TLCCoverage		  off
  ExtModeMexFile	  "ext_comm"
  ExtModeBatchMode	  off
  ExtModeTrigType	  "manual"
  ExtModeTrigMode	  "normal"
  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	  on
  ExtModeLogAll		  on
  BlockDefaults {
    Orientation		    "right"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    NamePlacement	    "normal"
    FontName		    "MS Sans Serif"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    ShowName		    on
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "MS Sans Serif"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "MS Sans Serif"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "amlib"
    Location		    [237, 90, 422, 411]
    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		      "Configurable\nSubsystem"
      Ports		      [0, 1]
      Position		      [55, 216, 135, 264]
      FontName		      "Helvetica"
      ShowPortLabels	      on
      BlockChoice	      "Sawtooth Modulation"
      TemplateBlock	      "self"
      MemberBlocks	      "Sawtooth Modulation,Square Modulation"
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      System {
	Name			"Configurable\nSubsystem"
	Location		[148, 182, 646, 482]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Reference
	  Name			  "Sawtooth Modulation"
	  Ports			  [0, 1]
	  Position		  [100, 40, 140, 80]
	  FontName		  "Helvetica"
	  SourceBlock		  "amlib/Sawtooth Modulation"
	  SourceType		  "AM modulator"
	  freqc			  "200"
	  freqs			  "1"
	  amps			  "1"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [200, 40, 220, 60]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "Sawtooth Modulation"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Sawtooth Modulation"
      Ports		      [0, 1]
      Position		      [55, 18, 130, 62]
      FontName		      "Helvetica"
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      MaskType		      "AM modulator"
      MaskDescription	      "This is a simple AM modulation scheme"
      MaskHelp		      "This block performs amplitude modulation of a <"
"b> sawtooth </b>\nsignal of specified amplitude and frequency"
      MaskPromptString	      "Carrier Frequency|Source Frequency|Source Ampli"
"tude"
      MaskStyleString	      "edit,edit,edit"
      MaskTunableValueString  "on,on,on"
      MaskCallbackString      "||"
      MaskEnableString	      "on,on,on"
      MaskVisibilityString    "on,on,on"
      MaskVariables	      "freqc=@1;freqs=@2;amps=@3;"
      MaskDisplay	      "plot([0:.1:10],sin(freqc*[0:.1:10]));"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "200|1|1"
      System {
	Name			"Sawtooth Modulation"
	Location		[335, 92, 575, 239]
	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		  [35, 25, 65, 55]
	  FontName		  "Helvetica"
	  Amplitude		  "1"
	  Frequency		  "freqc"
	  Phase			  "0"
	  SampleTime		  "0"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [130, 52, 160, 83]
	  FontName		  "Helvetica"
	  Inputs		  "2"
	  Multiplication	  "Element-wise(.*)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  SignalGenerator
	  Name			  "source"
	  Position		  [25, 90, 55, 120]
	  FontName		  "Helvetica"
	  WaveForm		  "sawtooth"
	  Amplitude		  "amps"
	  Frequency		  "freqs"
	  Units			  "Hertz"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [185, 63, 215, 77]
	  FontName		  "Helvetica"
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  Points		  [5, 5]
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "source"
	  SrcPort		  1
	  Points		  [55, 0]
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Carrier Wave"
	  SrcPort		  1
	  Points		  [45, 0]
	  DstBlock		  "Product"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Square Modulation"
      Ports		      [0, 1]
      Position		      [50, 113, 125, 157]
      FontName		      "Helvetica"
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      MaskType		      "AM modulator"
      MaskDescription	      "This is a simple AM modulation scheme"
      MaskHelp		      "This block performs amplitude modulation of a <"
"b> sawtooth </b>\nsignal of specified amplitude and frequency"
      MaskPromptString	      "Carrier Frequency|Source Frequency|Source Ampli"
"tude"
      MaskStyleString	      "edit,edit,edit"
      MaskTunableValueString  "on,on,on"
      MaskCallbackString      "||"
      MaskEnableString	      "on,on,on"
      MaskVisibilityString    "on,on,on"
      MaskVariables	      "freqc=@1;freqs=@2;amps=@3;"
      MaskDisplay	      "plot([0:.1:10],sin(freqc*[0:.1:10]));"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "200|1|1"
      System {
	Name			"Square Modulation"
	Location		[337, 94, 577, 241]
	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		  [35, 25, 65, 55]
	  FontName		  "Helvetica"
	  Amplitude		  "1"
	  Frequency		  "freqc"
	  Phase			  "0"
	  SampleTime		  "0"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [130, 52, 160, 83]
	  FontName		  "Helvetica"
	  Inputs		  "2"
	  Multiplication	  "Element-wise(.*)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  SignalGenerator
	  Name			  "source"
	  Position		  [25, 90, 55, 120]
	  FontName		  "Helvetica"
	  WaveForm		  "square"
	  Amplitude		  "amps"
	  Frequency		  "freqs"
	  Units			  "Hertz"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [185, 63, 215, 77]
	  FontName		  "Helvetica"
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  Points		  [5, 5]
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "source"
	  SrcPort		  1
	  Points		  [55, 0]
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Carrier Wave"
	  SrcPort		  1
	  Points		  [45, 0]
	  DstBlock		  "Product"
	  DstPort		  1
	}
      }
    }
  }
}

⌨️ 快捷键说明

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