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

📄 c5mid1.mdl

📁 包含大量遗传算法程序
💻 MDL
📖 第 1 页 / 共 2 页
字号:
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      Scope
      ModelBased	      off
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-5"
      YMax		      "5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "-1"
    }
    Block {
      BlockType		      "S-Function"
      FunctionName	      "system"
      SFunctionModules	      "''"
      PortCounts	      "[]"
    }
    Block {
      BlockType		      Sin
      SineType		      "Time based"
      TimeSource	      "Use simulation time"
      Amplitude		      "1"
      Bias		      "0"
      Frequency		      "1"
      Phase		      "0"
      Samples		      "10"
      Offset		      "0"
      SampleTime	      "-1"
      VectorParams1D	      on
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      TreatAsAtomicUnit	      off
      SystemSampleTime	      "-1"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    Block {
      BlockType		      UnitDelay
      X0		      "0"
      SampleTime	      "1"
      StateMustResolveToSignalObject off
      RTWStateStorageClass    "Auto"
    }
  }
  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		    "c5mid1"
    Location		    [54, 132, 634, 425]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "portrait"
    PaperPositionMode	    "auto"
    PaperType		    "a4letter"
    PaperUnits		    "centimeters"
    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
    TiledPageScale	    1
    ShowPageBoundaries	    off
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      DiscreteTransferFcn
      Name		      "Discrete\nTransfer Fcn"
      Position		      [125, 183, 210, 227]
      FontName		      "Times New Roman"
      FontSize		      11
      Numerator		      "[1 -0.5]"
      Denominator	      "[1 -1.5 0.7]"
      SampleTime	      "0.01"
    }
    Block {
      BlockType		      SubSystem
      Name		      "RLS identifier"
      Ports		      [2, 1]
      Position		      [145, 83, 245, 147]
      FontName		      "Times New Roman"
      FontSize		      11
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      MaskPromptString	      "order of numerator|order of denominator|pure de"
"lay d|P0 matrix|Initial parameters theta0|Forgetting factor lambda"
      MaskStyleString	      "edit,edit,edit,edit,edit,edit"
      MaskTunableValueString  "on,on,on,on,on,on"
      MaskCallbackString      "|||||"
      MaskEnableString	      "on,on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,on,on"
      MaskToolTipString	      "on,on,on,on,on,on"
      MaskVarAliasString      ",,,,,"
      MaskVariables	      "r=@1;m=@2;d=@3;P0=@4;theta0=@5;lam=@6;"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "1|2|0|1e5*eye(4)|[0;0;0;0]|0.8"
      MaskTabNameString	      ",,,,,"
      System {
	Name			"RLS identifier"
	Location		[108, 205, 866, 452]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"portrait"
	PaperPositionMode	"auto"
	PaperType		"a4letter"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "u(t)"
	  Position		  [60, 78, 90, 92]
	  FontName		  "Times New Roman"
	  FontSize		  11
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "y(t)"
	  Position		  [130, 203, 160, 217]
	  FontName		  "Times New Roman"
	  FontSize		  11
	  Port			  "2"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Delay"
	  Position		  [205, 69, 230, 101]
	  FontName		  "Times New Roman"
	  FontSize		  11
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Delay1"
	  Position		  [260, 69, 285, 101]
	  FontName		  "Times New Roman"
	  FontSize		  11
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Delay2"
	  Position		  [315, 69, 340, 101]
	  FontName		  "Times New Roman"
	  FontSize		  11
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Delay3"
	  Position		  [365, 69, 390, 101]
	  FontName		  "Times New Roman"
	  FontSize		  11
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Delay4"
	  Position		  [420, 69, 445, 101]
	  FontName		  "Times New Roman"
	  FontSize		  11
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Delay5"
	  Position		  [205, 194, 230, 226]
	  FontName		  "Times New Roman"
	  FontSize		  11
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Delay6"
	  Position		  [260, 194, 285, 226]
	  FontName		  "Times New Roman"
	  FontSize		  11
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Delay7"
	  Position		  [315, 194, 340, 226]
	  FontName		  "Times New Roman"
	  FontSize		  11
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Delay8"
	  Position		  [365, 194, 390, 226]
	  FontName		  "Times New Roman"
	  FontSize		  11
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Delay9"
	  Position		  [420, 194, 445, 226]
	  FontName		  "Times New Roman"
	  FontSize		  11
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [12, 1]
	  Position		  [535, 54, 545, 186]
	  ShowName		  off
	  FontName		  "Times New Roman"
	  FontSize		  11
	  Inputs		  "12"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  DiscreteZeroPole
	  Name			  "d delay"
	  Position		  [105, 67, 175, 103]
	  FontName		  "Times New Roman"
	  FontSize		  11
	  Zeros			  "[]"
	  Poles			  "[zeros(d,1)]"
	  Gain			  "1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  "S-Function"
	  Name			  "identifier"
	  Ports			  [1, 1]
	  Position		  [570, 105, 630, 135]
	  FontName		  "Times New Roman"
	  FontSize		  11
	  FunctionName		  "rls_ident"
	  Parameters		  "r,m,P0,lam"
	}
	Block {
	  BlockType		  Outport
	  Name			  "theta"
	  Position		  [655, 113, 685, 127]
	  FontName		  "Times New Roman"
	  FontSize		  11
	  IconDisplay		  "Port number"
	}
	Line {
	  SrcBlock		  "identifier"
	  SrcPort		  1
	  DstBlock		  "theta"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  DstBlock		  "identifier"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "y(t)"
	  SrcPort		  1
	  Points		  [0, 0; 15, 0]
	  Branch {
	    DstBlock		    "Delay5"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -85]
	    DstBlock		    "Mux"
	    DstPort		    7
	  }
	}
	Line {
	  SrcBlock		  "Delay8"
	  SrcPort		  1
	  Points		  [0, 0; 5, 0]
	  Branch {
	    DstBlock		    "Delay9"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -45]
	    DstBlock		    "Mux"
	    DstPort		    11
	  }
	}
	Line {
	  SrcBlock		  "Delay7"
	  SrcPort		  1
	  Points		  [0, 0; 5, 0]
	  Branch {
	    DstBlock		    "Delay8"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -55]
	    DstBlock		    "Mux"
	    DstPort		    10
	  }
	}
	Line {
	  SrcBlock		  "Delay6"
	  SrcPort		  1
	  Points		  [0, 0; 5, 0]
	  Branch {
	    DstBlock		    "Delay7"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -65]
	    DstBlock		    "Mux"
	    DstPort		    9
	  }
	}
	Line {
	  SrcBlock		  "Delay5"
	  SrcPort		  1
	  Points		  [0, 0; 10, 0]
	  Branch {
	    DstBlock		    "Delay6"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -75]
	    DstBlock		    "Mux"
	    DstPort		    8
	  }
	}
	Line {
	  SrcBlock		  "Delay3"
	  SrcPort		  1
	  Points		  [0, 0; 5, 0]
	  Branch {
	    DstBlock		    "Delay4"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -30; 80, 0; 0, 50]
	    DstBlock		    "Mux"
	    DstPort		    5
	  }
	}
	Line {
	  SrcBlock		  "Delay2"
	  SrcPort		  1
	  Points		  [0, 0; 5, 0]
	  Branch {
	    DstBlock		    "Delay3"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -40; 140, 0; 0, 50]
	    DstBlock		    "Mux"
	    DstPort		    4
	  }
	}
	Line {
	  SrcBlock		  "Delay1"
	  SrcPort		  1
	  Points		  [0, 0; 5, 0]
	  Branch {
	    DstBlock		    "Delay2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -50; 205, 0; 0, 50]
	    DstBlock		    "Mux"
	    DstPort		    3
	  }
	}
	Line {
	  SrcBlock		  "Delay"
	  SrcPort		  1
	  Points		  [0, 0; 10, 0]
	  Branch {
	    DstBlock		    "Delay1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -60; 265, 0; 0, 50]
	    DstBlock		    "Mux"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Delay9"
	  SrcPort		  1
	  Points		  [60, 0; 0, -35]
	  DstBlock		  "Mux"
	  DstPort		  12
	}
	Line {
	  SrcBlock		  "Delay4"
	  SrcPort		  1
	  Points		  [20, 0; 0, 30]
	  DstBlock		  "Mux"
	  DstPort		  6
	}
	Line {
	  SrcBlock		  "u(t)"
	  SrcPort		  1
	  DstBlock		  "d delay"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "d delay"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    DstBlock		    "Delay"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -70; 335, 0]
	    DstBlock		    "Mux"
	    DstPort		    1
	  }
	}
      }
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [1]
      Position		      [285, 99, 315, 131]
      FontName		      "Times New Roman"
      FontSize		      11
      Floating		      off
      Location		      [313, 206, 637, 445]
      Open		      on
      NumInputPorts	      "1"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "0.7000000000000001"
      YMin		      "-3"
      YMax		      "4"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Wave"
      Ports		      [0, 1]
      Position		      [45, 190, 75, 220]
      FontName		      "Times New Roman"
      FontSize		      11
      SineType		      "Time based"
      Frequency		      "10"
      SampleTime	      "0.01"
    }
    Line {
      SrcBlock		      "Discrete\nTransfer Fcn"
      SrcPort		      1
      Points		      [10, 0; 0, -35; -120, 0; 0, -40]
      DstBlock		      "RLS identifier"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Sine Wave"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	DstBlock		"Discrete\nTransfer Fcn"
	DstPort			1
      }
      Branch {
	Points			[0, -105]
	DstBlock		"RLS identifier"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "RLS identifier"
      SrcPort		      1
      DstBlock		      "Scope"
      DstPort		      1
    }
  }
}

⌨️ 快捷键说明

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