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

📄 airgk.mdl

📁 library of aircraft models to be used with Simulink
💻 MDL
📖 第 1 页 / 共 5 页
字号:
Model {
  Name			  "airgk"
  Version		  3.00
  SimParamPage		  "Solver"
  SampleTimeColors	  off
  InvariantConstants	  off
  WideVectorLines	  off
  ShowLineWidths	  off
  ShowPortDataTypes	  off
  StartTime		  "0"
  StopTime		  "Inf"
  SolverMode		  "Auto"
  Solver		  "ode45"
  RelTol		  "1e-3"
  AbsTol		  "auto"
  Refine		  "1"
  MaxStep		  "auto"
  InitialStep		  "auto"
  FixedStep		  "auto"
  MaxOrder		  5
  OutputOption		  "RefineOutputTimes"
  OutputTimes		  "[]"
  LoadExternalInput	  off
  ExternalInput		  "[t, u]"
  SaveTime		  off
  TimeSaveName		  "tout"
  SaveState		  off
  StateSaveName		  "xout"
  SaveOutput		  off
  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  off
  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"
  RTWOptions		  "-aEnforceIntegerDowncast=1 -aFoldNonRolledExpr=1 -a"
"InlineInvariantSignals=1 -aInlineParameters=0 -aLocalBlockOutputs=1 -aRollThr"
"eshold=5 -aZeroInternalMemoryAtStartup=1 -aZeroExternalMemoryAtStartup=1 -aIn"
"itFltsAndDblsToZero=1 -aGenerateReport=0 -aGenCodeOnly=0 -aRTWVerbose=1 -aInc"
"ludeHyperlinkInReport=0 -aLaunchReport=0 -aForceParamTrailComments=0 -aGenera"
"teComments=1 -aIgnoreCustomStorageClasses=1 -aIncHierarchyInIds=0 -aMaxRTWIdL"
"en=31 -aShowEliminatedStatements=0 -aPrefixModelToSubsysFcnNames=1 -aIncDataT"
"ypeInIds=0 -aInsertBlockDesc=0 -aSimulinkBlockComments=1 -aInlinedPrmAccess="
"\"Literals\"  -aSuppressErrorStatus=0 -aModelReferenceCompliant=1 -aSupportNo"
"nInlinedSFcns=1 -aSupportContinuousTime=1 -aSupportComplex=1 -aSupportNonFini"
"te=1 -aSupportAbsoluteTime=1 -aTargetFcnLib=\"ansi_tfl_tmw.mat\" -aMultiInsta"
"nceERTCode=0 -aLogVarNameModifier=\"rt_\" -aIsPILTarget=0 -aCombineOutputUpda"
"teFcns=0 -aGenerateASAP2=0 -aGenerateSampleERTMain=0 -aGenerateFullHeader=1 -"
"aUtilityFuncGeneration=\"Auto\" -aIncludeFileDelimiter=\"Auto\" -aIncludeMdlT"
"erminateFcn=1 -aPurelyIntegerCode=0 -aERTCustomFileBanners=0 -aRTWCAPIStates="
"0 -aRTWCAPIParams=0 -aRTWCAPISignals=0 -aMatFileLogging=1 -aGenFloatMathFcnCa"
"lls=\"ANSI_C\" -aExtModeMexFile=\"ext_comm\" -aExtModeTransport=0 -aExtModeSt"
"aticAllocSize=1000000 -aExtModeTesting=0 -aExtModeStaticAlloc=0 -aExtMode=0  "
  RTWInlineParameters	  off
  RTWRetainRTWFile	  off
  RTWTemplateMakefile	  "grt_default_tmf"
  RTWMakeCommand	  "make_rtw"
  RTWGenerateCodeOnly	  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
  Created		  "Thu Oct 10 13:35:41 2002"
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  LastModifiedBy	  "campa"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Wed Jul 26 12:43:58 2006"
  ModelVersionFormat	  "1.%<AutoIncrement:422>"
  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		    "airgk"
    Location		    [86, 139, 808, 439]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    AutoZoom		    on
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      " IAI Pioneer "
      Ports		      [3, 3, 0, 0, 0]
      Position		      [435, 91, 490, 209]
      DropShadow	      on
      FontName		      "Arial"
      SourceBlock	      "airlib/B747"
      SourceType	      "General Nonlinear Aircraft Model"
      GM1		      "[0.5486  5.1511  2.8261   47.2259  90.9483  111"
".4754   0  -6.6462  0   190.512]"
      CD_wind		      "[0.060  0.430  0  0.0180  0]"
      CL_wind		      "[0.385  4.78  8.05  0.401  0]"
      Cm_body		      "[0.194  -2.12   -36.6   -1.76    0]"
      CY_body		      "[0   -0.819    0     0    0.191    0]"
      Cl_body		      "[0   -0.023   -0.450   0.265   -0.161  -0.00229"
"]"
      Cn_body		      "[0    0.109  -0.110  -0.200    0.0200  -0.0917]"
      x0		      "[60 -0.0293682 0   0 0 0   0 -0.0293682 0   0 0"
" 60]"
      Port {
	PortNumber		1
	Name			"x"
	TestPoint		off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "3Dplot"
      Ports		      [2, 0, 0, 0, 0]
      Position		      [250, 233, 285, 262]
      ForegroundColor	      "cyan"
      ShowPortLabels	      on
      System {
	Name			"3Dplot"
	Location		[286, 465, 731, 677]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [30, 68, 60, 82]
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "In2"
	  Position		  [30, 103, 60, 117]
	  Port			  "2"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux"
	  Ports			  [1, 3, 0, 0, 0]
	  Position		  [305, 43, 310, 147]
	  BackgroundColor	  "black"
	  ShowName		  off
	  Outputs		  "[2 2 2]"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux3"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [185, 58, 190, 127]
	  ShowName		  off
	  Inputs		  "[3 3]"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Transpose"
	  Position		  [220, 76, 275, 114]
	  Elements		  "reshape(reshape(1:3*2,3,2)',3*2,1)"
	  InputPortWidth	  "3*2"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "XYZ Graph"
	  Ports			  [3, 0, 0, 0, 0]
	  Position		  [370, 41, 410, 149]
	  CopyFcn		  "sfunxyz([],[],[],'CopyBlock')"
	  DeleteFcn		  "sfunxyz([],[],[],'DeleteBlock')"
	  LoadFcn		  "sfunxyz([],[],[],'LoadBlock')"
	  StartFcn		  "sfunxyz([],[],[],'Start')"
	  StopFcn		  "sfunxyz([],[],[],'Stop')"
	  NameChangeFcn		  "sfunxyz([],[],[],'NameChange')"
	  ShowPortLabels	  on
	  MaskType		  "XYZ multiscope"
	  MaskDescription	  "   Multidimensional XY scope using MATLAB g"
"raph window.  \n   X,Y,Z coordinates are respectively the first,second, and t"
"hird input.\n   Enter the number of lines and XY ranges as mask parameters."
	  MaskHelp		  "   This block can be used to explore limit "
"cycles. \n   Look at the m-file sfunxyz.m to see how it works."
	  MaskPromptString	  "Number of lines|[xmin xmax]|[ymin ymax]|[zm"
"in zmax]|Camera position|Grid|Sample time:"
	  MaskStyleString	  "edit,edit,edit,edit,edit,checkbox,edit"
	  MaskTunableValueString  "on,on,on,on,on,on,on"
	  MaskCallbackString	  "||||||"
	  MaskEnableString	  "on,on,on,on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on,on,on,on"
	  MaskVariables		  "np=@1;xlim=@2;ylim=@3;zlim=@4;cp=@5;gd=@6;s"
"t=@7;"
	  MaskDisplay		  "plot([.05 .95 .95 .05 .05],[.45 .45 .95 .95"
" .45], 0.5+cos(0:0.1:2*pi)*0.3,0.7+sin(0:0.1:2*pi)*0.2)"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "normalized"
	  MaskValueString	  "2|1e3*[-1 3]|1e3*[-1 3]|1e3*[0 0.5]|[3000 2"
"000 1]|on|0.1"
	  System {
	    Name		    "XYZ Graph"
	    Location		    [88, 127, 394, 333]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "x"
	      Position		      [35, 37, 65, 53]
	      Port		      "1"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "y"
	      Position		      [35, 72, 65, 88]
	      Port		      "2"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "z"
	      Position		      [35, 107, 65, 123]
	      Port		      "3"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Ports		      [3, 1, 0, 0, 0]
	      Position		      [105, 30, 135, 130]
	      ShowName		      off
	      Inputs		      "[np np np]"
	      DisplayOption	      "none"
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "sfunxy"
	      Ports		      [1, 0, 0, 0, 0]
	      Position		      [175, 70, 225, 90]
	      ShowName		      off
	      FunctionName	      "sfunxyz"
	      Parameters	      "[xlim ylim zlim],st,np,cp,gd"
	      PortCounts	      "[]"
	      SFunctionModules	      "''"
	    }
	    Line {
	      SrcBlock		      "z"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "y"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "x"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      DstBlock		      "sfunxy"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Selector
	  Name			  "real xyz"
	  Position		  [95, 63, 145, 87]
	  NamePlacement		  "alternate"
	  Elements		  "10:12"
	  InputPortWidth	  "12"
	}
	Block {
	  BlockType		  Selector
	  Name			  "ref xyz"
	  Position		  [95, 98, 145, 122]
	  Elements		  "1:3"
	  InputPortWidth	  "6"
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  2
	  Points		  [10, 0; 0, -20; 30, 0]
	  DstBlock		  "XYZ Graph"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  Points		  [25, 0; 0, 35]
	  DstBlock		  "XYZ Graph"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "real xyz"
	  SrcPort		  1
	  DstBlock		  "Mux3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  3
	  DstBlock		  "XYZ Graph"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Transpose"
	  SrcPort		  1
	  DstBlock		  "Demux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux3"
	  SrcPort		  1
	  DstBlock		  "Transpose"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In2"
	  SrcPort		  1
	  DstBlock		  "ref xyz"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "real xyz"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "ref xyz"
	  SrcPort		  1
	  DstBlock		  "Mux3"
	  DstPort		  2
	}
	Annotation {
	  Position		  [307, 21]
	  ForegroundColor	  "red"
	  Text			  "Set Camera position to [0 0 1] for 2D view"
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Actuators"
      Ports		      [1, 2, 0, 0, 0]
      Position		      [340, 132, 395, 208]
      ShowPortLabels	      on
      System {
	Name			"Actuators"
	Location		[32, 147, 705, 568]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "Cmds"
	  Position		  [35, 143, 65, 157]
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux2"
	  Ports			  [1, 4, 0, 0, 0]
	  Position		  [130, 67, 135, 233]
	  BackgroundColor	  "black"
	  ShowName		  off
	  FontName		  "Arial"
	  Outputs		  "4"
	  Port {
	    PortNumber		    1

⌨️ 快捷键说明

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