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

📄 vid_hist.mdl

📁 motion detection using matlab
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	      SupportAbsoluteTime     on
	      LogVarNameModifier      "rt_"
	      MatFileLogging	      on
	      MultiInstanceERTCode    off
	      SupportNonFinite	      on
	      SupportComplex	      on
	      PurelyIntegerCode	      off
	      SupportContinuousTime   on
	      SupportNonInlinedSFcns  on
	      EnableShiftOperators    on
	      ParenthesesLevel	      "Nominal"
	      PortableWordSizes	      off
	      ModelStepFunctionPrototypeControlCompliant off
	      CPPClassGenCompliant    off
	      AutosarCompliant	      off
	      UseMalloc		      off
	      ExtMode		      off
	      ExtModeStaticAlloc      off
	      ExtModeTesting	      off
	      ExtModeStaticAllocSize  1000000
	      ExtModeTransport	      0
	      ExtModeMexFile	      "ext_comm"
	      ExtModeIntrfLevel	      "Level1"
	      RTWCAPISignals	      off
	      RTWCAPIParams	      off
	      RTWCAPIStates	      off
	      GenerateASAP2	      off
	    }
	    PropName		    "Components"
	  }
	}
	PropName		"Components"
      }
      Name		      "Configuration"
      ExtraOptions	      "-aPrefixModelToSubsysFcnNames=1 "
      CurrentDlgPage	      "Solver"
      ConfigPrmDlgPosition    " [ 200, 85, 1080, 715 ] "
    }
    PropName		    "ConfigurationSets"
  }
  Simulink.ConfigSet {
    $PropName		    "ActiveConfigurationSet"
    $ObjectID		    1
  }
  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"
    UseDisplayTextAsClickCallback off
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  BlockParameterDefaults {
    Block {
      BlockType		      Concatenate
      NumInputs		      "2"
      ConcatenateDimension    "1"
    }
    Block {
      BlockType		      DataTypeConversion
      OutMin		      "[]"
      OutMax		      "[]"
      OutDataTypeMode	      "Inherit via back propagation"
      OutDataType	      "fixdt(1,16,0)"
      OutScaling	      "[]"
      OutDataTypeStr	      "Inherit: Inherit via back propagation"
      LockScale		      off
      ConvertRealWorld	      "Real World Value (RWV)"
      RndMeth		      "Zero"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Display
      Format		      "short"
      Decimation	      "10"
      Floating		      off
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Inport
      Port		      "1"
      UseBusObject	      off
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      OutMin		      "[]"
      OutMax		      "[]"
      DataType		      "auto"
      OutDataType	      "fixdt(1,16,0)"
      OutScaling	      "[]"
      OutDataTypeStr	      "Inherit: auto"
      LockScale		      off
      SignalType	      "auto"
      SamplingMode	      "auto"
      LatchByDelayingOutsideSignal off
      LatchByCopyingInsideSignal off
      Interpolate	      on
    }
    Block {
      BlockType		      MATLABFcn
      MATLABFcn		      "sin"
      OutputDimensions	      "-1"
      OutputSignalType	      "auto"
      Output1D		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Outport
      Port		      "1"
      UseBusObject	      off
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      OutMin		      "[]"
      OutMax		      "[]"
      DataType		      "auto"
      OutDataType	      "fixdt(1,16,0)"
      OutScaling	      "[]"
      OutDataTypeStr	      "Inherit: auto"
      LockScale		      off
      SignalType	      "auto"
      SamplingMode	      "auto"
      SourceOfInitialOutputValue "Dialog"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      Reshape
      OutputDimensionality    "1-D array"
      OutputDimensions	      "[1,1]"
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      "FromPortIcon"
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      TreatAsAtomicUnit	      off
      CheckFcnCallInpInsideContextMsg 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"
    }
  }
  System {
    Name		    "vid_hist"
    Location		    [2, 70, 1278, 750]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
    TiledPageScale	    1
    ShowPageBoundaries	    off
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      "From Video Device"
      Ports		      [0, 1]
      Position		      [245, 384, 355, 436]
      UserDataPersistent      on
      UserData		      "DataTag0"
      DialogController	      "imaqcreatedialog"
      DialogControllerArgs    "DataTag1"
      SourceBlock	      "imaqlib/From Video Device"
      SourceType	      "From Video Device"
      DeviceMenu	      "(none)"
      Device		      "winvideo 1 (Logitech QuickCam Easy/Cool)"
      ObjConstructor	      "videoinput('winvideo', 1)"
      VideoFormatMenu	      "(none)"
      VideoFormat	      "RGB24_320x240"
      VideoSource	      "input1"
      ROIPosition	      "[0 0 240 320]"
      EnableHWTrigger	      off
      TriggerConfiguration    "none/none"
      SampleTime	      "1/30"
      OutputPortsMode	      "One multidimensional signal"
      DataType		      "single"
      CanDoHWTrigger	      "no"
      ReturnedColorSpace      "rgb"
      BlockHandle	      "2031.0015"
      ROIWidth		      "320"
      ROIHeight		      "240"
    }
    Block {
      BlockType		      Reference
      Name		      "Histo Blue"
      Ports		      [1, 1]
      Position		      [325, 246, 395, 284]
      DialogController	      "dspDDGCreate"
      DialogControllerArgs    "DataTag2"
      SourceBlock	      "dspstat3/Histogram"
      SourceType	      "Histogram"
      umin		      "0"
      umax		      "255"
      nbins		      "256"
      normalized	      off
      run		      off
      reset		      off
      trigtype		      "Non-zero sample"
      operateOver	      "Each column"
      Dimension		      "1"
      colComp		      on
      additionalParams	      off
      allowOverrides	      on
      accumMode		      "Same as input"
      accumWordLength	      "32"
      accumFracLength	      "30"
      prodOutputMode	      "Same as input"
      prodOutputWordLength    "32"
      prodOutputFracLength    "30"
      roundingMode	      "Floor"
      overflowMode	      off
      LockScale		      off
      Port {
	PortNumber		1
	Name			"Blue"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Histo Green"
      Ports		      [1, 1]
      Position		      [325, 191, 395, 229]
      DialogController	      "dspDDGCreate"
      DialogControllerArgs    "DataTag3"
      SourceBlock	      "dspstat3/Histogram"
      SourceType	      "Histogram"
      umin		      "0"
      umax		      "255"
      nbins		      "256"
      normalized	      off
      run		      off
      reset		      off
      trigtype		      "Non-zero sample"
      operateOver	      "Each column"
      Dimension		      "1"
      colComp		      on
      additionalParams	      off
      allowOverrides	      on
      accumMode		      "Same as input"
      accumWordLength	      "32"
      accumFracLength	      "30"
      prodOutputMode	      "Same as input"
      prodOutputWordLength    "32"
      prodOutputFracLength    "30"
      roundingMode	      "Floor"
      overflowMode	      off
      LockScale		      off
      Port {
	PortNumber		1
	Name			"Green"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Histo Red"
      Ports		      [1, 1]
      Position		      [325, 136, 395, 174]
      DialogController	      "dspDDGCreate"
      DialogControllerArgs    "DataTag4"
      SourceBlock	      "dspstat3/Histogram"
      SourceType	      "Histogram"
      umin		      "0"
      umax		      "255"
      nbins		      "256"
      normalized	      off
      run		      off
      reset		      off
      trigtype		      "Non-zero sample"
      operateOver	      "Each column"
      Dimension		      "1"
      colComp		      on
      additionalParams	      off
      allowOverrides	      on
      accumMode		      "Same as input"
      accumWordLength	      "32"
      accumFracLength	      "30"
      prodOutputMode	      "Same as input"
      prodOutputWordLength    "32"
      prodOutputFracLength    "30"
      roundingMode	      "Floor"
      overflowMode	      off
      LockScale		      off
      Port {
	PortNumber		1
	Name			"Red"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
    }
    Block {
      BlockType		      Concatenate
      Name		      "Matrix\nConcatenation"
      Ports		      [3, 1]
      Position		      [485, 189, 540, 231]
      ShowName		      off
      NumInputs		      "3"
      Mode		      "Multidimensional array"
      ConcatenateDimension    "2"
    }
    Block {
      BlockType		      Reference
      Name		      "RGB\nHistogram"
      Ports		      [1]
      Position		      [610, 185, 645, 235]
      DialogController	      "dspdialog.VectorScope"
      DialogControllerArgs    "DataTag5"
      SourceBlock	      "dspsnks4/Vector\nScope"
      SourceType	      "Vector Scope"
      ScopeProperties	      off
      Domain		      "User-defined"
      HorizSpan		      "1"
      DisplayProperties	      off
      AxisGrid		      on
      Memory		      off
      FrameNumber	      off
      AxisLegend	      on
      AxisZoom		      on
      OpenScopeAtSimStart     on
      OpenScopeImmediately    off
      FigPos		      "[388 523 297 202]"
      AxisProperties	      on
      XUnits		      "Hertz"
      XRange		      "[0...Fs/2]"
      InheritXIncr	      off
      XIncr		      "1"
      XLabel		      "Intensity"
      XLimit		      "Auto"
      XMin		      "0"
      XMax		      "1"
      XStart		      "0"
      YUnits		      "dB"
      YMin		      "0"
      YMax		      "500"
      YLabel		      "Count"
      LineProperties	      off
      LineMarkers	      "None"
      LineColors	      "[1 0 0]|[0 1 0]|[0 0 1]"
      ShowPortLabels	      off
    }
    Block {
      BlockType		      SubSystem
      Name		      "Show RGB"
      Ports		      [3]
      Position		      [240, 17, 295, 103]
      MinAlgLoopOccurrences   off
      PropExecContextOutsideSubsystem off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      Opaque		      off
      RequestExecContextInheritance off
      MaskHideContents	      off
      System {
	Name			"Show RGB"
	Location		[196, 374, 676, 524]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "R"
	  Position		  [60, 25, 90, 40]
	  Orientation		  "down"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "G"
	  Position		  [25, 68, 55, 82]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "B"
	  Position		  [60, 110, 90, 125]
	  Orientation		  "up"
	  Port			  "3"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type Conversion"
	  Position		  [195, 60, 230, 90]
	  ShowName		  off
	  OutDataTypeMode	  "double"
	  OutDataTypeStr	  "double"
	}
	Block {
	  BlockType		  Display
	  Name			  "Display"
	  Ports			  [1]
	  Position		  [365, 60, 455, 90]
	  ShowName		  off
	  Decimation		  "1"
	  Lockdown		  off
	}
	Block {
	  BlockType		  Concatenate
	  Name			  "Matrix\nConcatenation1"
	  Ports			  [3, 1]
	  Position		  [90, 54, 145, 96]
	  ShowName		  off
	  NumInputs		  "3"
	  Mode			  "Multidimensional array"
	  ConcatenateDimension	  "2"
	}
	Block {
	  BlockType		  MATLABFcn
	  Name			  "RGB Video"
	  Ports			  [1, 1]
	  Position		  [285, 60, 345, 90]
	  ModelCloseFcn		  "show_rgb"
	  MATLABFcn		  "show_rgb(u,1)"
	  OutputDimensions	  "1"
	  Output1D		  off
	}

⌨️ 快捷键说明

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