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

📄 c9mbbr4.mdl

📁 包含大量遗传算法程序
💻 MDL
📖 第 1 页 / 共 3 页
字号:
Model {
  Name			  "c9mbbr4"
  Version		  6.0
  PreLoadFcn		  "c9dat_set"
  SampleTimeColors	  off
  LibraryLinkDisplay	  "none"
  WideLines		  off
  ShowLineDimensions	  off
  ShowPortDataTypes	  off
  SortedOrder		  off
  RecordCoverage	  off
  CovPath		  "/"
  CovSaveName		  "covdata"
  CovNameIncrementing	  off
  CovHtmlReporting	  on
  BlockNameDataTip	  off
  BlockParametersDataTip  off
  BlockDescriptionStringDataTip	off
  ToolBar		  on
  StatusBar		  on
  BrowserShowLibraryLinks off
  BrowserLookUnderMasks	  off
  Created		  "Fri Sep 23 14:24:55 2005"
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  LastModifiedBy	  "Prof Xue Dingyu"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Thu Oct 20 11:14:28 2005"
  ModelVersionFormat	  "1.%<AutoIncrement:29>"
  ConfigurationManager	  "None"
  LinearizationMsg	  "none"
  Profile		  off
  AccelSystemTargetFile	  "accel.tlc"
  AccelTemplateMakefile	  "accel_default_tmf"
  AccelMakeCommand	  "make_rtw"
  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	  off
  ExtModeLogAll		  on
  BufferReuse		  off
  SolverName		  "ode4"
  SolverMode		  "Auto"
  StartTime		  "0.0"
  StopTime		  "10.0"
  MaxOrder		  5
  MaxStep		  "auto"
  MinStep		  "auto"
  MaxNumMinSteps	  "-1"
  InitialStep		  "auto"
  FixedStep		  "0.001"
  RelTol		  "1e-3"
  AbsTol		  "auto"
  OutputOption		  "RefineOutputTimes"
  OutputTimes		  "[]"
  Refine		  "1"
  LoadExternalInput	  off
  ExternalInput		  "[t, u]"
  LoadInitialState	  off
  InitialState		  "xInitial"
  SaveTime		  on
  TimeSaveName		  "tout"
  SaveState		  off
  StateSaveName		  "xout"
  SaveOutput		  on
  OutputSaveName	  "yout"
  SaveFinalState	  off
  FinalStateName	  "xFinal"
  SaveFormat		  "Array"
  Decimation		  "1"
  LimitDataPoints	  on
  MaxDataPoints		  "1000"
  ConsistencyChecking	  "none"
  ArrayBoundsChecking	  "none"
  AlgebraicLoopMsg	  "warning"
  BlockPriorityViolationMsg "warning"
  MinStepSizeMsg	  "warning"
  InheritedTsInSrcMsg	  "warning"
  MultiTaskRateTransMsg	  "error"
  SingleTaskRateTransMsg  "none"
  CheckForMatrixSingularity "none"
  IntegerOverflowMsg	  "warning"
  Int32ToFloatConvMsg	  "warning"
  UnnecessaryDatatypeConvMsg "none"
  VectorMatrixConversionMsg "none"
  SignalLabelMismatchMsg  "none"
  UnconnectedInputMsg	  "warning"
  UnconnectedOutputMsg	  "warning"
  UnconnectedLineMsg	  "warning"
  SfunCompatibilityCheckMsg "none"
  RTWInlineParameters	  off
  BlockReductionOpt	  on
  BooleanDataType	  on
  ParameterPooling	  on
  OptimizeBlockIOStorage  off
  RTWSystemTargetFile	  "wincon.tlc"
  RTWTemplateMakefile	  "nt_msvc.tmf"
  RTWMakeCommand	  "make_wc"
  RTWGenerateCodeOnly	  off
  RTWRetainRTWFile	  off
  TLCProfiler		  off
  TLCDebug		  off
  TLCCoverage		  off
  RTWOptions		  "-aEnforceIntegerDowncast=0 -aFoldNonRolledExpr=0 -a"
"InlineInvariantSignals=0 -aInlineParameters=0 -aLocalBlockOutputs=0 -aRollThr"
"eshold=5 -aGenerateReport=0 -aGenCodeOnly=0 -aRTWVerbose=1 -aIncludeHyperlink"
"InReport=0 -aLaunchReport=0 -aForceParamTrailComments=0 -aGenerateComments=1 "
"-aIgnoreCustomStorageClasses=1 -aIncHierarchyInIds=0 -aMaxRTWIdLen=31 -aShowE"
"liminatedStatements=1 -aPrefixModelToSubsysFcnNames=1 -aIncDataTypeInIds=0 -a"
"InsertBlockDesc=0 -aSimulinkBlockComments=1 -aInlinedPrmAccess=\"Literals\"  "
"-aSuppressErrorStatus=0 -aModelReferenceCompliant=0 -aSupportNonInlinedSFcns="
"1 -aSupportContinuousTime=1 -aSupportComplex=1 -aSupportNonFinite=1 -aSupport"
"AbsoluteTime=1 -aTargetPreCompLibLocation=\"\" -aTargetLibSuffix=\"\" -aTarge"
"tFcnLib=\"ansi_tfl_tmw.mat\" -aMultiInstanceERTCode=0 -aLogVarNameModifier=\""
"rt_\" -aIsPILTarget=0 -aCombineOutputUpdateFcns=0 -aGenerateSampleERTMain=0 -"
"aGenerateFullHeader=1 -aUtilityFuncGeneration=\"Auto\" -aIncludeFileDelimiter"
"=\"Auto\" -aIncludeMdlTerminateFcn=1 -aPurelyIntegerCode=0 -aERTCustomFileBan"
"ners=0 -aMatFileLogging=0 -aGenFloatMathFcnCalls=\"ANSI_C\"  -aAllParameters="
"1 -aAllSignals=1 -aExtMode=1 "
  SimulationMode	  "normal"
  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		    "tp270488"
    Location		    [-7, 116, 1005, 730]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "portrait"
    PaperPositionMode	    "auto"
    PaperType		    "a4letter"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      "S-Function"
      Name		      "Analog Output To Amplifier\nDriving the Motor"
      Ports		      [1]
      Position		      [850, 126, 925, 164]
      ShowName		      off
      LoadFcn		      "set_param(gcb,'MaskEnables',{'on','on','on','on"
"','on','on','on','on','on'});"
      StartFcn		      "set_param(gcb,'MaskEnables',{'off','off','off',"
"'off','off','on','off','on','off'});"
      StopFcn		      "set_param(gcb,'MaskEnables',{'on','on','on','on"
"','on','on','on','on','on'});"
      FontName		      "Times New Roman"
      FontSize		      12
      FunctionName	      "q4da"
      Parameters	      "boardNumber, channels, modes, ranges, initialOu"
"tputs, finalOutputs, sampleTime, inputVolts, simulationOutput"
      SFunctionModules	      "''"
      PortCounts	      "[]"
      MaskType		      "Q4 Analog Output"
      MaskDescription	      "Writes to the selected analog output channels o"
"f the Q4 Series I/O Boards"
      MaskHelp		      "web(fullfile(qcdocroot, 'Q4', 'AnalogOutput.htm"
"l'));"
      MaskPromptString	      "Board number:|Channel(s) to use:|Mode(s):  (0 ="
" bipolar, 1 = unipolar)|Range(s):  (5 or 10)|Initial output(s):|Final output("
"s):|Sample time (sec):|Input Volts|Simulation output"
      MaskStyleString	      "edit,edit,edit,edit,edit,edit,edit,checkbox,che"
"ckbox"
      MaskTunableValueString  "on,on,on,on,on,on,on,on,on"
      MaskCallbackString      "||||||||"
      MaskEnableString	      "on,on,on,on,on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,on,on,on,on,on"
      MaskToolTipString	      "on,on,on,on,on,on,on,on,on"
      MaskVariables	      "boardNumber=@1;channels=@2;modesVect=@3;rangesV"
"ect=@4;initialVect=@5;finalVect=@6;sampleTime=@7;inputVolts=@8;simulationOutp"
"ut=@9;"
      MaskInitialization      "modes = expand(modesVect, length(channels));\nr"
"anges = expand(rangesVect, length(channels));\ninitialOutputs = expand(initia"
"lVect, length(channels));\nfinalOutputs = expand(finalVect, length(channels))"
";\n\naddpath(qcdevroot);\n"
      MaskDisplay	      "disp('Quanser\\nQ4 DAC')"
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "0|0|0|10|0|0|-1|on|off"
    }
    Block {
      BlockType		      Gain
      Name		      "Aplha to Theta"
      Position		      [485, 118, 530, 172]
      ShowName		      off
      FontName		      "Times New Roman"
      FontSize		      12
      Gain		      "L/r"
      Multiplication	      "Element-wise(K.*u)"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      "S-Function"
      Name		      "Ball Sensor Input"
      Ports		      [0, 1]
      Position		      [475, 304, 550, 346]
      Orientation	      "left"
      ShowName		      off
      AncestorBlock	      "qctools/Quanser\nQ4 Series/Analog Input"
      LoadFcn		      "set_param(gcb,'MaskEnables',{'on','on','on','on"
"','on','on'});"
      StartFcn		      "set_param(gcb,'MaskEnables',{'off','off','off',"
"'off','on','off'});"
      StopFcn		      "set_param(gcb,'MaskEnables',{'on','on','on','on"
"','on','on'});"
      FontName		      "Times New Roman"
      FontSize		      12
      FunctionName	      "q4ad"
      Parameters	      "boardNumber, channels, useBusy, outputVolts, sa"
"mpleTime, simulationInput"
      SFunctionModules	      "''"
      PortCounts	      "[]"
      MaskType		      "Q4 Analog Input"
      MaskDescription	      "Reads the selected analog input channels of the"
" Q4 Series I/O Boards"
      MaskHelp		      "web(fullfile(qcdocroot, 'Q4', 'AnalogInput.html"
"'));"
      MaskPromptString	      "Board number:|Channel(s) to use:|Sample time (s"
"ec):|Read after conversions complete|Output Volts|Simulation input"
      MaskStyleString	      "edit,edit,edit,checkbox,checkbox,checkbox"
      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"
      MaskVariables	      "boardNumber=@1;channels=@2;sampleTime=@3;useBus"
"y=@4;outputVolts=@5;simulationInput=@6;"
      MaskInitialization      "addpath(qcdevroot);"
      MaskDisplay	      "disp('Quanser\\nQ4 ADC')"
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "0|2|simget(bdroot,'FixedStep')|on|on|off"
    }
    Block {
      BlockType		      Gain
      Name		      "Cable Gain\nPre-Compensation"
      Position		      [760, 129, 800, 161]
      ShowName		      off
      FontName		      "Times New Roman"
      FontSize		      12
      Gain		      "-1"
      Multiplication	      "Element-wise(K.*u)"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Gain
      Name		      "Calibrate Postion \nto read in centimeters\n(-2"
"0 to 20) "
      Position		      [300, 302, 360, 348]
      Orientation	      "left"
      ShowName		      off
      FontName		      "Times New Roman"
      FontSize		      12
      Gain		      "-L/10"
      Multiplication	      "Element-wise(K.*u)"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Gain
      Name		      "Command \nin \ncentimeters"
      Position		      [225, 126, 255, 164]
      ShowName		      off
      FontName		      "Times New Roman"
      FontSize		      12
      Gain		      "5"
      Multiplication	      "Element-wise(K.*u)"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {

⌨️ 快捷键说明

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