📄 motes.mdl
字号:
Position [230, 150, 250, 170] } Block { BlockType Outport Name "D/A" Position [440, 13, 470, 27] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Snd" Position [440, 48, 470, 62] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Schedule" Position [440, 83, 470, 97] Port "3" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Monitors" Position [440, 118, 470, 132] Port "4" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "P" Position [440, 153, 470, 167] Port "5" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Clock" SrcPort 1 DstBlock "Terminator" DstPort 1 } Line { SrcBlock "Rcv" SrcPort 1 Points [45, 0] DstBlock "S-Function" DstPort 3 } Line { SrcBlock "Interrupts" SrcPort 1 Points [45, 0] DstBlock "S-Function" DstPort 2 } Line { SrcBlock "S-Function" SrcPort 4 Points [70, 0; 0, 35] DstBlock "Monitors" DstPort 1 } Line { SrcBlock "S-Function" SrcPort 3 Points [100, 0] DstBlock "Schedule" DstPort 1 } Line { SrcBlock "S-Function" SrcPort 1 Points [15, 0; 0, -25] DstBlock "D/A" DstPort 1 } Line { SrcBlock "S-Function" SrcPort 2 Points [100, 0] DstBlock "Snd" DstPort 1 } Line { SrcBlock "A/D" SrcPort 1 Points [45, 0] DstBlock "S-Function" DstPort 1 } Line { SrcBlock "E" SrcPort 1 Points [50, 0] DstBlock "S-Function" DstPort 4 } Line { SrcBlock "S-Function" SrcPort 5 Points [50, 0; 0, 55] DstBlock "P" DstPort 1 } } } Block { BlockType Outport Name "x" Position [150, 223, 180, 237] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "y" Position [150, 173, 180, 187] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Snd" Position [325, 43, 355, 57] Port "3" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "\n \n" SrcPort 1 Points [0, 0; -70, 0] Branch { DstBlock "x" DstPort 1 } Branch { Points [-100, 0; 0, -175] DstBlock "Mux" DstPort 1 } } Line { SrcBlock "\n" SrcPort 1 Points [0, 0; -70, 0] Branch { DstBlock "y" DstPort 1 } Branch { Points [-70, 0; 0, -110] DstBlock "Mux" DstPort 2 } } Line { SrcBlock "Demux" SrcPort 1 Points [35, 0; 0, 180] DstBlock "\n \n" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 Points [10, 0; 0, 115] DstBlock "\n" DstPort 1 } Line { SrcBlock "TrueTime Kernel" SrcPort 2 DstBlock "Snd" DstPort 1 } Line { SrcBlock "TrueTime Kernel" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "TrueTime Kernel" SrcPort 4 Points [20, 0] DstBlock "Terminator" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "TrueTime Kernel" DstPort 1 } Line { SrcBlock "Rcv" SrcPort 1 DstBlock "TrueTime Kernel" DstPort 3 } Line { SrcBlock "Ground" SrcPort 1 DstBlock "TrueTime Kernel" DstPort 2 } Line { SrcBlock "TrueTime Kernel" SrcPort 3 Points [0, 10] DstBlock "Schedule" DstPort 1 } Line { SrcBlock "TrueTime Kernel" SrcPort 5 Points [10, 0; 0, 20] DstBlock "Terminator1" DstPort 1 } } } Block { BlockType SubSystem Name "Mote 2" Ports [1, 3] Position [90, 112, 190, 188] ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "MOTE" MaskPromptString "x0|y0" MaskStyleString "edit,edit" MaskTunableValueString "on,on" MaskCallbackString "|" MaskEnableString "on,on" MaskVisibilityString "on,on" MaskToolTipString "on,on" MaskVariables "x0=@1;y0=@2;" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "xPos(2)|yPos(2)" MaskVariableAliases "," System { Name "Mote 2" Location [297, 483, 742, 744] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "Rcv" Position [100, 83, 130, 97] Port "1" LatchInput off Interpolate on } Block { BlockType Integrator Name "\n" Ports [1, 1] Position [210, 145, 240, 175] Orientation "left" ExternalReset "none" InitialConditionSource "internal" InitialCondition "y0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Integrator Name "\n \n" Ports [1, 1] Position [210, 190, 240, 220] Orientation "left" ExternalReset "none" InitialConditionSource "internal" InitialCondition "x0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Demux Name "Demux" Ports [1, 2] Position [375, 16, 380, 54] BackgroundColor "black" ShowName off Outputs "2" BusSelectionMode off } Block { BlockType Ground Name "Ground" Position [130, 55, 150, 75] ShowName off } Block { BlockType Mux Name "Mux" Ports [2, 1] Position [115, 21, 120, 59] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Scope Name "Schedule" Ports [1] Position [360, 64, 385, 86] Floating off Location [273, 249, 1087, 708] Open off NumInputPorts "1" TickLabels "on" ZoomMode "xonly" List { ListType AxesTitles axes1 "%<SignalLabel>" } Grid "on" TimeRange "3.5" YMin "1.8" YMax "3.7" SaveToWorkspace off SaveName "ScopeData" DataFormat "Array" LimitDataPoints off MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Terminator Name "Terminator" Position [325, 80, 345, 100] ShowName off } Block { BlockType Terminator Name "Terminator1" Position [325, 105, 345, 125] ShowName off } Block { BlockType Reference Name "TrueTime Kernel" Ports [3, 5] Position [170, 27, 285, 103] DropShadow on SourceBlock "truetime/TrueTime Kernel" SourceType "Unknown" sfun "node_init" args "2" battery "off" clockdrift "0" clockoffset "0" } Block { BlockType Outport Name "x" Position [150, 223, 180, 237] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "y" Position [150, 173, 180, 187] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Snd" Position [325, 43, 355, 57] Port "3" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "\n \n" SrcPort 1 Points [0, 0; -70, 0] Branch { DstBlock "x" DstPort 1 } Branch { Points [-100, 0; 0, -175] DstBlock "Mux" DstPort 1 } } Line { SrcBlock "\n" SrcPort 1 Points [0, 0; -70, 0] Branch { DstBlock "y" DstPort 1 } Branch { Points [-70, 0; 0, -110] DstBlock "Mux" DstPort 2 } } Line { SrcBlock "Demux" SrcPort 1 Points [35, 0; 0, 180] DstBlock "\n \n" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 Points [10, 0; 0, 115] DstBlock "\n" DstPort 1 } Line { SrcBlock "TrueTime Kernel" SrcPort 2 DstBlock "Snd" DstPort 1 } Line { SrcBlock "TrueTime Kernel" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "TrueTime Kernel" SrcPort 4 Points [20, 0] DstBlock "Terminator" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "TrueTime Kernel" DstPort 1 } Line { SrcBlock "Rcv" SrcPort 1 DstBlock "TrueTime Kernel" DstPort 3 } Line { SrcBlock "Ground" SrcPort 1 DstBlock "TrueTime Kernel" DstPort 2 } Line { SrcBlock "TrueTime Kernel" SrcPort 3 Points [0, 10] DstBlock "Schedule" DstPort 1 } Line { SrcBlock "TrueTime Kernel" SrcPort 5 Points [10, 0; 0, 20] DstBlock "Terminator1" DstPort 1 } } } Block { BlockType SubSystem Name "Mote 3" Ports [1, 3] Position [90, 217, 190, 293] ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "MOTE" MaskPromptString "x0|y0" MaskStyleString "edit,edit" MaskTunableValueString "on,on" MaskCallbackString "|" MaskEnableString "on,on" MaskVisibilityString "on,on" MaskToolTipString "on,on" MaskVariables "x0=@1;y0=@2;" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "xPos(3)|yPos(3)" MaskVariableAliases "," System { Name "Mote 3" Location [499, 192, 944, 453] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "Rcv" Position [80, 83, 110, 97] Port "1" LatchInput off Interpolate on } Block { BlockType Integrator Name "\n" Ports [1, 1] Position [210, 145, 240, 175] Orientation "left" ExternalReset "none" InitialConditionSource "internal" InitialCondition "y0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Integrator Name "\n \n" Ports [1, 1] Position [210, 190, 240, 220] Orientation "left" ExternalReset "none" InitialConditionSource "internal" InitialCondition "x0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Demux Name "Demux" Ports [1, 2] Position [375, 16, 380, 54] BackgroundColor "black" ShowName off Outputs "2" BusSelectionMode off } Block { BlockType Ground Name "Ground" Position [130, 55, 150, 75] ShowName off } Block { BlockType Mux Name "Mux" Ports [2, 1] Position [115, 21, 120, 59] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Scope Name "Schedule" Ports [1] Position [360, 64, 385, 86] Floating off Location [273, 249, 1087, 708] Open off NumInputPorts "1" TickLabels "on" ZoomMode "xonly" List { ListType AxesTitles axes1 "%<SignalLabel>" } Grid "on" TimeRange "3.5" YMin "1.8" YMax "3.7" SaveToWorkspace off SaveName "ScopeData" DataFormat "Array" LimitDataPoints off MaxDataPoints "5000"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -