📄 distributed.mdl
字号:
Name "rcv4" Position [315, 113, 345, 127] Port "4" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Demux" SrcPort 1 Points [0, -10] DstBlock "rcv1" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 Points [35, 0] DstBlock "rcv2" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "TrueTime Network" DstPort 1 } Line { SrcBlock "snd1" SrcPort 1 Points [20, 0] DstBlock "Mux" DstPort 1 } Line { SrcBlock "snd2" SrcPort 1 Points [0, -5] DstBlock "Mux" DstPort 2 } Line { SrcBlock "snd3" SrcPort 1 Points [5, 0; 0, -25] DstBlock "Mux" DstPort 3 } Line { SrcBlock "Demux" SrcPort 3 Points [15, 0; 0, 40] DstBlock "rcv3" DstPort 1 } Line { SrcBlock "snd4" SrcPort 1 Points [20, 0] DstBlock "Mux" DstPort 4 } Line { SrcBlock "Demux" SrcPort 4 Points [0, 60] DstBlock "rcv4" DstPort 1 } Line { SrcBlock "TrueTime Network" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "TrueTime Network" SrcPort 2 Points [10, 0; 0, 75] DstBlock "Network Schedule" DstPort 1 } } } Block { BlockType SubSystem Name "Node 1\n(Interference)" Ports [1, 1] Position [165, 226, 230, 284] ShowPortLabels on Permissions "ReadWrite" TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off System { Name "Node 1\n(Interference)" Location [39, 464, 374, 613] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Rcv" Position [15, 88, 45, 102] Port "1" PortDimensions "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Ground Name "Ground" Position [20, 60, 40, 80] ShowName off } Block { BlockType Ground Name "Ground1" Position [20, 35, 40, 55] ShowName off } Block { BlockType Scope Name "Schedule, interfering node" Ports [1] Position [255, 69, 280, 91] Floating off Location [83, 518, 897, 977] Open off NumInputPorts "1" TickLabels "on" ZoomMode "xonly" List { ListType AxesTitles axes1 "%<SignalLabel>" } List { ListType SelectedSignals axes1 "" } Grid "on" TimeRange "2" YMin "0.5" YMax "2" SaveToWorkspace off SaveName "ScopeData" DataFormat "Array" LimitDataPoints off MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Terminator Name "Terminator" Position [210, 90, 230, 110] ShowName off } Block { BlockType Terminator Name "Terminator1" Position [210, 35, 230, 55] ShowName off } Block { BlockType Reference Name "TrueTime Kernel" Ports [3, 4] Position [65, 32, 180, 108] DropShadow on SourceBlock "truetime/TrueTime Kernel" SourceType "" sfun "interference_init" } Block { BlockType Outport Name "Snd" Position [235, 53, 265, 67] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "TrueTime Kernel" SrcPort 3 DstBlock "Schedule, interfering node" DstPort 1 } Line { SrcBlock "TrueTime Kernel" SrcPort 2 DstBlock "Snd" DstPort 1 } Line { SrcBlock "TrueTime Kernel" SrcPort 1 Points [0, 5] DstBlock "Terminator1" DstPort 1 } Line { SrcBlock "Ground" SrcPort 1 DstBlock "TrueTime Kernel" DstPort 2 } Line { SrcBlock "Rcv" SrcPort 1 DstBlock "TrueTime Kernel" DstPort 3 } Line { SrcBlock "Ground1" SrcPort 1 DstBlock "TrueTime Kernel" DstPort 1 } Line { SrcBlock "TrueTime Kernel" SrcPort 4 DstBlock "Terminator" DstPort 1 } } } Block { BlockType SubSystem Name "Node 2\n(Actuator)" Ports [1, 1] Position [85, 91, 150, 149] ShowPortLabels on Permissions "ReadWrite" TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off System { Name "Node 2\n(Actuator)" Location [383, 464, 730, 614] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Rcv" Position [30, 83, 60, 97] Port "1" PortDimensions "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Ground Name "Ground" Position [20, 55, 40, 75] ShowName off } Block { BlockType Ground Name "Ground1" Position [20, 30, 40, 50] ShowName off } Block { BlockType Scope Name "Schedule, actuator node" Ports [1] Position [275, 64, 300, 86] Floating off Location [83, 518, 897, 977] Open off NumInputPorts "1" TickLabels "on" ZoomMode "xonly" List { ListType AxesTitles axes1 "%<SignalLabel>" } List { ListType SelectedSignals axes1 "" } Grid "on" TimeRange "0.6" YMin "0.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 [225, 85, 245, 105] ShowName off } Block { BlockType Terminator Name "Terminator1" Position [225, 45, 245, 65] ShowName off } Block { BlockType Reference Name "TrueTime Kernel" Ports [3, 4] Position [80, 27, 195, 103] DropShadow on SourceBlock "truetime/TrueTime Kernel" SourceType "" sfun "actuator_init" } Block { BlockType Outport Name "D/A" Position [270, 28, 300, 42] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Ground1" 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 { Labels [1, 0] SrcBlock "TrueTime Kernel" SrcPort 1 DstBlock "D/A" DstPort 1 } Line { SrcBlock "TrueTime Kernel" SrcPort 2 DstBlock "Terminator1" DstPort 1 } Line { SrcBlock "TrueTime Kernel" SrcPort 3 DstBlock "Schedule, actuator node" DstPort 1 } Line { SrcBlock "TrueTime Kernel" SrcPort 4 DstBlock "Terminator" DstPort 1 } } } Block { BlockType SubSystem Name "Node 3\n(Sensor)" Ports [1, 1] Position [325, 91, 390, 149] ShowPortLabels on Permissions "ReadWrite" TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off System { Name "Node 3\n(Sensor)" Location [40, 620, 375, 769] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "A/D" Position [15, 28, 45, 42] Port "1" PortDimensions "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Ground Name "Ground" Position [20, 55, 40, 75] ShowName off } Block { BlockType Ground Name "Ground1" Position [20, 80, 40, 100] ShowName off } Block { BlockType Scope Name "Schedule, sensor node" Ports [1] Position [265, 64, 290, 86] Floating off Location [38, 422, 852, 881] Open off NumInputPorts "1" TickLabels "on" ZoomMode "xonly" List { ListType AxesTitles axes1 "%<SignalLabel>" } List { ListType SelectedSignals axes1 "" } Grid "on" TimeRange "0.6" YMin "0.8" YMax "3.7" SaveToWorkspace off SaveName "ScopeData" DataFormat "Array" LimitDataPoints off MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -