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

📄 ssts__lib_math.mdl

📁 空间绳系卫星的仿真软件
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      ParameterDataTypeMode   "Same as input"
      ParameterDataType	      "sfix(16)"
      ParameterScalingMode    "Best Precision: Matrix-wise"
      ParameterScaling	      "2^0"
      OutDataTypeMode	      "Same as input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Inport
      Port		      "1"
      UseBusObject	      off
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      LatchByDelayingOutsideSignal off
      LatchByCopyingInsideSignal off
      Interpolate	      on
    }
    Block {
      BlockType		      Math
      Operator		      "exp"
      OutputSignalType	      "auto"
      SampleTime	      "-1"
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Mux
      Inputs		      "4"
      DisplayOption	      "none"
      UseBusObject	      off
      BusObject		      "BusObject"
      NonVirtualBus	      off
    }
    Block {
      BlockType		      Outport
      Port		      "1"
      UseBusObject	      off
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      Product
      Inputs		      "2"
      Multiplication	      "Element-wise(.*)"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Zero"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Reference
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      SystemSampleTime	      "-1"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    Block {
      BlockType		      Sum
      IconShape		      "rectangular"
      Inputs		      "++"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "arial"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "arial"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "SSTS__lib_math"
    Location		    [2, 74, 998, 744]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Inport
      Name		      "In1"
      Position		      [275, 58, 305, 72]
      ShowName		      off
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      Inport
      Name		      "In5"
      Position		      [275, 83, 305, 97]
      ShowName		      off
      Port		      "2"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      Inport
      Name		      "In3"
      Position		      [275, 108, 305, 122]
      ShowName		      off
      Port		      "3"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      Inport
      Name		      "In4"
      Position		      [275, 133, 305, 147]
      ShowName		      off
      Port		      "4"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      Inport
      Name		      "In2"
      Position		      [275, 208, 305, 222]
      ShowName		      off
      Port		      "5"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      Inport
      Name		      "In6"
      Position		      [275, 233, 305, 247]
      ShowName		      off
      Port		      "6"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      Inport
      Name		      "In7"
      Position		      [275, 258, 305, 272]
      ShowName		      off
      Port		      "7"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      Inport
      Name		      "In8"
      Position		      [275, 283, 305, 297]
      ShowName		      off
      Port		      "8"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      Inport
      Name		      "In9"
      Position		      [280, 363, 310, 377]
      ShowName		      off
      Port		      "9"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      Inport
      Name		      "In10"
      Position		      [280, 388, 310, 402]
      ShowName		      off
      Port		      "10"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      Inport
      Name		      "In11"
      Position		      [280, 413, 310, 427]
      ShowName		      off
      Port		      "11"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      Inport
      Name		      "In12"
      Position		      [280, 438, 310, 452]
      ShowName		      off
      Port		      "12"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      Inport
      Name		      "In13"
      Position		      [275, 508, 305, 522]
      ShowName		      off
      Port		      "13"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      Inport
      Name		      "In14"
      Position		      [275, 533, 305, 547]
      ShowName		      off
      Port		      "14"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      Inport
      Name		      "In15"
      Position		      [275, 558, 305, 572]
      ShowName		      off
      Port		      "15"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      Inport
      Name		      "In16"
      Position		      [275, 583, 305, 597]
      ShowName		      off
      Port		      "16"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      Inport
      Name		      "In17"
      Position		      [275, 668, 305, 682]
      ShowName		      off
      Port		      "17"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      Inport
      Name		      "In18"
      Position		      [275, 693, 305, 707]
      ShowName		      off
      Port		      "18"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      Inport
      Name		      "In19"
      Position		      [275, 718, 305, 732]
      ShowName		      off
      Port		      "19"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      Inport
      Name		      "In20"
      Position		      [275, 743, 305, 757]
      ShowName		      off
      Port		      "20"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      Inport
      Name		      "In21"
      Position		      [275, 798, 305, 812]
      ShowName		      off
      Port		      "21"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      Inport
      Name		      "In22"
      Position		      [275, 823, 305, 837]
      ShowName		      off
      Port		      "22"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      Inport
      Name		      "In23"
      Position		      [275, 848, 305, 862]
      ShowName		      off
      Port		      "23"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      Inport
      Name		      "In24"
      Position		      [275, 873, 305, 887]
      ShowName		      off
      Port		      "24"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [4, 1]
      Position		      [350, 55, 360, 150]
      ShowName		      off
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux1"
      Ports		      [4, 1]
      Position		      [350, 205, 360, 300]
      ShowName		      off
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux2"
      Ports		      [4, 1]
      Position		      [355, 360, 365, 455]
      ShowName		      off
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux3"
      Ports		      [4, 1]
      Position		      [350, 505, 360, 600]
      ShowName		      off
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux4"
      Ports		      [4, 1]
      Position		      [350, 665, 360, 760]
      ShowName		      off
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux5"
      Ports		      [4, 1]
      Position		      [350, 795, 360, 890]
      ShowName		      off
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      SubSystem
      Name		      "SSTS__lib_math_1"
      Ports		      [1, 1]
      Position		      [395, 88, 595, 122]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      MaskDisplay	      "image(imread('SSTS__lib_math_1.jpg'));"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"SSTS__lib_math_1"
	Location		[-181, 74, 831, 744]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [230, 363, 260, 377]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Add"
	  Ports			  [2, 1]
	  Position		  [515, 252, 545, 283]
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Add1"
	  Ports			  [2, 1]
	  Position		  [665, 302, 695, 333]
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux"
	  Ports			  [1, 4]
	  Position		  [285, 213, 305, 527]
	  BackgroundColor	  "black"
	  ShowName		  off
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [400, 420, 460, 450]
	  Expr			  "cos(u)"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn1"
	  Position		  [400, 465, 460, 495]
	  Expr			  "cos(u)"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn2"
	  Position		  [725, 305, 785, 335]
	  Expr			  "u^(-3/2)"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [590, 400, 620, 430]
	  Gain			  "2"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Math
	  Name			  "Math\nFunction"
	  Ports			  [1, 1]
	  Position		  [405, 224, 435, 256]
	  Operator		  "magnitude^2"
	}
	Block {
	  BlockType		  Math
	  Name			  "Math\nFunction1"
	  Ports			  [1, 1]
	  Position		  [405, 284, 435, 316]
	  Operator		  "magnitude^2"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [4, 1]
	  Position		  [500, 319, 545, 506]
	  Inputs		  "4"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out"
	  Position		  [820, 313, 850, 327]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  Points		  [0, -10; 40, 0]
	  Branch {
	    DstBlock		    "Math\nFunction"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 105]
	    DstBlock		    "Product"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  2
	  Points		  [20, 0; 0, -30; 35, 0]
	  Branch {
	    DstBlock		    "Math\nFunction1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 90]
	    DstBlock		    "Product"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  3
	  Points		  [55, 0; 0, 25]
	  DstBlock		  "Fcn"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Math\nFunction"
	  SrcPort		  1
	  Points		  [30, 0; 0, 20]
	  DstBlock		  "Add"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Math\nFunction1"
	  SrcPort		  1
	  Points		  [30, 0; 0, -25]
	  DstBlock		  "Add"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Add"
	  SrcPort		  1
	  Points		  [35, 0; 0, 40]
	  DstBlock		  "Add1"
	  DstPort		  1
	}
	Line {

⌨️ 快捷键说明

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