📄 ex7_4c.mdl
字号:
Model { Name "ex6_4c" Version 2.09 SimParamPage Solver SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off PaperOrientation landscape PaperType usletter PaperUnits inches StartTime "0.0" StopTime "10.0" Solver ode45 RelTol "1e-3" AbsTol "1e-6" Refine "1" MaxStep "auto" InitialStep "auto" FixedStep "auto" MaxOrder 5 OutputOption RefineOutputTimes OutputTimes "[]" LoadExternalInput off ExternalInput "[t, u]" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput on OutputSaveName "yout" LoadInitialState off InitialState "xInitial" SaveFinalState off FinalStateName "xFinal" LimitMaxRows off MaxRows "1000" Decimation "1" AlgebraicLoopMsg warning MinStepSizeMsg warning UnconnectedInputMsg warning UnconnectedOutputMsg warning UnconnectedLineMsg warning ConsistencyChecking off ZeroCross on SimulationMode normal RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_vc.tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off ExtModeMexFile "ext_comm" ExtModeBatchMode off 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 "ex6_4c" Location [465, 178, 833, 374] Open on ScreenColor white Block { BlockType Logic Name "(a b)+(b c)" Ports [2, 1, 0, 0, 0] Position [210, 38, 240, 62] Operator OR Inputs "2" } Block { BlockType CombinatorialLogic Name "Combinatorial \nLogic\n(a b)+(b c)" Position [200, 128, 230, 152] TruthTable "[0;0;0;1;0;0;1;1]" } Block { BlockType Display Name "Display" Ports [1, 0, 0, 0, 0] Position [260, 37, 345, 63] Format short Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "Display1" Ports [1, 0, 0, 0, 0] Position [260, 127, 345, 153] Format short Decimation "1" Floating off SampleTime "-1" } Block { BlockType Mux Name "Mux" Ports [3, 1, 0, 0, 0] Position [150, 126, 180, 154] Inputs "3" } Block { BlockType Constant Name "a" Position [15, 46, 35, 64] Value "0" } Block { BlockType Logic Name "a b" Ports [2, 1, 0, 0, 0] Position [150, 13, 180, 37] Operator AND Inputs "2" } Block { BlockType Constant Name "b" Position [15, 81, 35, 99] Value "1" } Block { BlockType Logic Name "b c" Ports [2, 1, 0, 0, 0] Position [150, 68, 180, 92] Operator AND Inputs "2" } Block { BlockType Constant Name "c" Position [15, 116, 35, 134] Value "1" } Line { SrcBlock "a b" SrcPort 1 Points [10, 0] DstBlock "(a b)+(b c)" DstPort 1 } Line { SrcBlock "b c" SrcPort 1 Points [10, 0] DstBlock "(a b)+(b c)" DstPort 2 } Line { SrcBlock "(a b)+(b c)" SrcPort 1 DstBlock "Display" DstPort 1 } Line { SrcBlock "b" SrcPort 1 Points [10, 0; 0, -15] Branch { DstBlock "b c" DstPort 1 } Branch { Points [0, -45; 50, 0] Branch { DstBlock "a b" DstPort 2 } Branch { Points [0, 110] DstBlock "Mux" DstPort 2 } } } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Combinatorial \nLogic\n(a b)+(b c)" DstPort 1 } Line { SrcBlock "Combinatorial \nLogic\n(a b)+(b c)" SrcPort 1 DstBlock "Display1" DstPort 1 } Line { SrcBlock "a" SrcPort 1 Points [0, -35; 75, 0] Branch { DstBlock "a b" DstPort 1 } Branch { Points [0, 110] DstBlock "Mux" DstPort 1 } } Line { SrcBlock "c" SrcPort 1 Points [20, 0; 0, -40; 25, 0] Branch { DstBlock "b c" DstPort 2 } Branch { Points [0, 65] DstBlock "Mux" DstPort 3 } } }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -