Model { Name "Pontroulantv5" Version 3.00 SimParamPage "Solver" SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off ShowPortDataTypes off StartTime "0.0" StopTime "60" SolverMode "Auto" Solver "ode45" RelTol "1e-4" AbsTol "1e-3" Refine "1" MaxStep "1e-2" 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" SaveFormat "Matrix" LimitMaxRows off MaxRows "1000" Decimation "1" AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" IntegerOverflowMsg "warning" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" SignalLabelMismatchMsg "none" ConsistencyChecking "off" ZeroCross on SimulationMode "normal" BlockDataTips on BlockParametersDataTip off BlockAttributesDataTip off BlockPortWidthsDataTip off BlockDescriptionStringDataTip off BlockMaskParametersDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off OptimizeBlockIOStorage on BufferReuse on BooleanDataType on RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "normal" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect on Created "Tue Nov 16 10:50:51 2004" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "Jean-Marie" ModifiedDateFormat "%" LastModifiedDate "Sat Nov 27 09:20:53 2004" ModelVersionFormat "1.%" ConfigurationManager "None" 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 "Pontroulantv5" Location [2, 78, 1278, 1004] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" AutoZoom on ReportName "simulink-default.rpt" Block { BlockType SubSystem Name "Charge seule" Ports [1, 1, 0, 0, 0] Position [400, 405, 500, 465] ShowPortLabels on System { Name "Charge seule" Location [3, 87, 1266, 1002] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "xdd" Position [40, 208, 70, 222] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType From Name "From11" Position [115, 235, 155, 265] BackgroundColor "lightBlue" ShowName off CloseFcn "tagdialog Close" GotoTag "teta" } Block { BlockType From Name "From12" Position [120, 375, 160, 405] BackgroundColor "lightBlue" ShowName off CloseFcn "tagdialog Close" GotoTag "tetad" } Block { BlockType From Name "From14" Position [115, 300, 155, 330] BackgroundColor "lightBlue" ShowName off CloseFcn "tagdialog Close" GotoTag "teta" } Block { BlockType From Name "From15" Position [45, 115, 85, 145] BackgroundColor "lightBlue" ShowName off CloseFcn "tagdialog Close" GotoTag "tetadd" } Block { BlockType Gain Name "Gain1" Position [420, 287, 505, 343] Gain "1/(J+m2*h^2)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain3" Position [200, 361, 255, 419] Gain "c*h" SaturateOnIntegerOverflow on } Block { BlockType Goto Name "Goto2" Position [195, 65, 235, 95] Orientation "up" BackgroundColor "lightBlue" ShowName off GotoTag "tetad" TagVisibility "local" } Block { BlockType Goto Name "Goto3" Position [305, 65, 345, 95] Orientation "up" BackgroundColor "lightBlue" ShowName off GotoTag "teta" TagVisibility "local" } Block { BlockType Goto Name "Goto5" Position [540, 300, 580, 330] BackgroundColor "lightBlue" ShowName off GotoTag "tetadd" TagVisibility "local" } Block { BlockType Integrator Name "Integrator2" Ports [1, 1, 0, 0, 0] Position [150, 115, 180, 145] ShowName off ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Integrator Name "Integrator3" Ports [1, 1, 0, 0, 0] Position [250, 115, 280, 145] ShowName off ExternalReset "none" InitialConditionSource "internal" InitialCondition "0.1" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Mux Name "Mux4" Ports [2, 1, 0, 0, 0] Position [210, 199, 215, 266] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Sum Name "Sum2" Ports [3, 1, 0, 0, 0] Position [355, 198, 370, 432] ShowName off IconShape "rectangular" Inputs "---" SaturateOnIntegerOverflow on } Block { BlockType ToWorkspace Name "To Workspace2" Position [360, 65, 410, 95] Orientation "up" BackgroundColor "yellow" ShowName off VariableName "teta1" Buffer "1000" Decimation "1" SampleTime "Tplot" SaveFormat "Matrix" } Block { BlockType Fcn Name "m2*g*h*sin" Position [205, 300, 265, 330] Expr "m2*g*h*sin(u(1))" } Block { BlockType Fcn Name "m2*h*xdd*cos" Position [255, 220, 315, 250] Expr "m2*h*u(1)*cos(u(2))" } Block { BlockType Outport Name "teta" Position [420, 123, 450, 137] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "From12" SrcPort 1 DstBlock "Gain3" DstPort 1 } Line { SrcBlock "Integrator3" SrcPort 1 Points [0, 0; 40, 0] Branch { Points [60, 0] Branch { DstBlock "To Workspace2" DstPort 1 } Branch { DstBlock "teta" DstPort 1 } } Branch { DstBlock "Goto3" DstPort 1 } } Line { SrcBlock "Gain1" SrcPort 1 DstBlock "Goto5" DstPort 1 } Line { SrcBlock "From15" SrcPort 1 DstBlock "Integrator2" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "m2*g*h*sin" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "m2*h*xdd*cos" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { SrcBlock "From14" SrcPort 1 DstBlock "m2*g*h*sin" DstPort 1 } Line { SrcBlock "From11" SrcPort 1 DstBlock "Mux4" DstPort 2 } Line { SrcBlock "xdd" SrcPort 1 DstBlock "Mux4" DstPort 1 } Line { SrcBlock "Mux4" SrcPort 1 DstBlock "m2*h*xdd*cos" DstPort 1 } Line { SrcBlock "Integrator2" SrcPort 1 Points [0, 0; 30, 0] Branch { DstBlock "Goto2" DstPort 1 } Branch { DstBlock "Integrator3" DstPort 1 } } Line { SrcBlock "Gain3" SrcPort 1 Points [80, 0] DstBlock "Sum2" DstPort 3 } Annotation { Position [254, 32] Text "Charge seule\nxdd représente la dérivée sec" "onde du déplacement du chariot " FontSize 14 } } } Block { BlockType Clock Name "Clock" Position [105, 115, 125, 135] DisplayTime off Decimation "10" } Block { BlockType Gain Name "Gain" Position [270, 220, 300, 250] Gain "5000" SaturateOnIntegerOverflow on } Block { BlockType Step Name "Step" Position [65, 200, 95, 230] Time "0" Before "0" After "1" SampleTime "0" } Block { BlockType Step Name "Step1" Position [130, 240, 160, 270] Time "2" Before "0" After "-1" SampleTime "0" } Block { BlockType Step Name "Step2" Position [295, 420, 325, 450] Time "0" Before "0" After "0" SampleTime "0" } Block { BlockType Sum Name "Sum1" Ports [2, 1, 0, 0, 0] Position [210, 195, 225, 275] ShowName off IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType SubSystem Name "Système réel" Ports [1, 3, 0, 0, 0] Position [400, 154, 505, 316] ShowPortLabels on System { Name "Système réel" Location [5, 82, 1268, 1000] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "F" Position [25, 453, 55, 467] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType From Name "From" Position [140, 325, 180, 355] BackgroundColor "lightBlue" ShowName off CloseFcn "tagdialog Close" GotoTag "teta" } Block { BlockType From Name "From1" Position [140, 365, 180, 395] BackgroundColor "lightBlue" ShowName off CloseFcn "tagdialog Close" GotoTag "tetad" } Block { BlockType From Name "From10" Position [30, 80, 70, 110] BackgroundColor "lightBlue" ShowName off CloseFcn "tagdialog Close" GotoTag "Xdd" } Block { BlockType From Name "From11" Position [140, 590, 180, 620] BackgroundColor "lightBlue" ShowName off CloseFcn "tagdialog Close" GotoTag "teta" } Block { BlockType From Name "From12" Position [140, 745, 180, 775] BackgroundColor "lightBlue" ShowName off CloseFcn "tagdialog Close" GotoTag "teta" } Block { BlockType From Name "From13" Position [140, 405, 180, 435] BackgroundColor "lightBlue" ShowName off CloseFcn "tagdialog Close" GotoTag "Xd" } Block { BlockType From Name "From14" Position [140, 625, 180, 655] BackgroundColor "lightBlue" ShowName off CloseFcn "tagdialog Close" GotoTag "tetad" } Block { BlockType From Name "From15" Position [120, 170, 160, 200] BackgroundColor "lightBlue" ShowName off CloseFcn "tagdialog Close" GotoTag "tetadd" } Block { BlockType From Name "From16" Position [715, 290, 755, 320] BackgroundColor "lightBlue" ShowName off CloseFcn "tagdialog Close" GotoTag "teta" } Block { BlockType From Name "From19" Position [140, 665, 180, 695] BackgroundColor "lightBlue" ShowName off CloseFcn "tagdialog Close" GotoTag "teta" } Block { BlockType From Name "From2" Position [135, 245, 175, 275] BackgroundColor "lightBlue" ShowName off CloseFcn "tagdialog Close" GotoTag "teta" } Block { BlockType From Name "From3" Position [135, 280, 175, 310] BackgroundColor "lightBlue" ShowName off CloseFcn "tagdialog Close" GotoTag "tetad" } Block { BlockType From Name "From4" Position [720, 615, 760, 645] BackgroundColor "lightBlue" ShowName off CloseFcn "tagdialog Close" GotoTag "teta" } Block { BlockType From Name "From5" Position [140, 515, 180, 545] BackgroundColor "lightBlue" ShowName off CloseFcn "tagdialog Close" GotoTag "teta" } Block { BlockType From Name "From6" Position [580, 65, 620, 95] BackgroundColor "lightBlue" ShowName off CloseFcn "tagdialog Close" GotoTag "X" } Block { BlockType From Name "From7" Position [580, 100, 620, 130] BackgroundColor "lightBlue" ShowName off CloseFcn "tagdialog Close" GotoTag "teta" } Block { BlockType From Name "From8" Position [140, 550, 180, 580] BackgroundColor "lightBlue" ShowName off CloseFcn "tagdialog Close" GotoTag "Xd" } Block { BlockType From Name "From9" Position [140, 700, 180, 730] BackgroundColor "lightBlue" ShowName off CloseFcn "tagdialog Close" GotoTag "tetad" } Block { BlockType Goto Name "Goto" Position [270, 30, 310, 60] Orientation "up" BackgroundColor "lightBlue" ShowName off GotoTag "Xd" TagVisibility "local" } Block { BlockType Goto Name "Goto1" Position [365, 25, 405, 55] Orientation "up" BackgroundColor "lightBlue" ShowName off GotoTag "X" TagVisibility "local" } Block { BlockType Goto Name "Goto2" Position [270, 120, 310, 150] Orientation "up" BackgroundColor "lightBlue" ShowName off GotoTag "tetad" TagVisibility "local" } Block { BlockType Goto Name "Goto3" Position [380, 120, 420, 150] Orientation "up" BackgroundColor "lightBlue" ShowName off GotoTag "teta" TagVisibility "local" } Block { BlockType Goto Name "Goto4" Position [1130, 310, 1170, 340] BackgroundColor "lightBlue" ShowName off GotoTag "Xdd" TagVisibility "local" } Block { BlockType Goto Name "Goto6" Position [1135, 635, 1175, 665] BackgroundColor "lightBlue" ShowName off GotoTag "tetadd" TagVisibility "local" } Block { BlockType Integrator Name "Integrator" Ports [1, 1, 0, 0, 0] Position [135, 80, 165, 110] ShowName off ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Integrator Name "Integrator1" Ports [1, 1, 0, 0, 0] Position [330, 80, 360, 110] ShowName off ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Integrator Name "Integrator2" Ports [1, 1, 0, 0, 0] Position [225, 170, 255, 200] ShowName off ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Integrator Name "Integrator3" Ports [1, 1, 0, 0, 0] Position [325, 170, 355, 200] ShowName off ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Mux Name "Mux" Ports [4, 1, 0, 0, 0] Position [235, 318, 240, 482] ShowName off Inputs "4" DisplayOption "bar" } Block { BlockType Mux Name "Mux1" Ports [2, 1, 0, 0, 0] Position [780, 289, 785, 356] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux2" Ports [2, 1, 0, 0, 0] Position [805, 614, 810, 681] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux3" Ports [2, 1, 0, 0, 0] Position [675, 64, 680, 131] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux4" Ports [2, 1, 0, 0, 0] Position [230, 514, 235, 581] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux5" Ports [2, 1, 0, 0, 0] Position [235, 244, 240, 311] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux6" Ports [2, 1, 0, 0, 0] Position [230, 747, 235, 813] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux7" Ports [2, 1, 0, 0, 0] Position [230, 589, 235, 656] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux8" Ports [2, 1, 0, 0, 0] Position [230, 662, 235, 733] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Sum Name "Sum1" Ports [2, 1, 0, 0, 0] Position [685, 218, 700, 462] ShowName off IconShape "rectangular" Inputs "--" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [4, 1, 0, 0, 0] Position [690, 515, 705, 810] ShowName off IconShape "rectangular" Inputs "-+++" SaturateOnIntegerOverflow on } Block { BlockType ToWorkspace Name "To Workspace1" Position [430, 25, 480, 55] Orientation "up" BackgroundColor "yellow" ShowName off VariableName "x" Buffer "inf" Decimation "1" SampleTime "Tplot" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace2" Position [435, 120, 485, 150] Orientation "up" BackgroundColor "yellow" ShowName off VariableName "teta" Buffer "inf" Decimation "1" SampleTime "Tplot" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace3" Position [780, 15, 830, 45] Orientation "up" BackgroundColor "yellow" ShowName off VariableName "d" Buffer "inf" Decimation "1" SampleTime "Tplot" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace7" Position [185, 25, 235, 55] Orientation "up" BackgroundColor "yellow" ShowName off VariableName "v" Buffer "inf" Decimation "1" SampleTime "Tplot" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace8" Position [80, 25, 130, 55] Orientation "up" BackgroundColor "yellow" ShowName off VariableName "vd" Buffer "inf" Decimation "1" SampleTime "Tplot" SaveFormat "Matrix" } Block { BlockType Fcn Name "calcul 1" Position [280, 266, 480, 294] Expr "h^2*m2*cos(u(1))*(c*u(2)+g*m2*sin(u(1)))" } Block { BlockType Fcn Name "calcul 2" Position [285, 383, 620, 417] Expr "(J+h^2*m2)*(u(4)-b*u(3)-c*cos(u(1))*u(2)+h*" "m2*sin(u(1))*u(2)^2)" } Block { BlockType Fcn Name "calcul 3" Position [380, 535, 510, 565] Expr "b*m2*cos(u(1))*u(2)" } Block { BlockType Fcn Name "calcul 4" Position [375, 610, 560, 640] Expr "c*(m1+m2-m2*cos(u(1))^2)*u(2)" } Block { BlockType Fcn Name "calcul 5" Position [310, 683, 560, 717] Expr "h*m2^2*sin(u(1))*cos(u(1))*u(2)^2" } Block { BlockType Fcn Name "calcul 6" Position [230, 758, 625, 792] Expr "m2*(u(2)*cos(u(1))+g*m1*sin(u(1))+g*m2*sin(" "u(1)))" } Block { BlockType Fcn Name "m2*h*xdd*cos1" Position [840, 308, 1075, 342] ShowName off Expr "u(2)/(h^2*m2^2*cos(u(1))^2-(m1+m2)*(J+h^2*m" "2))" } Block { BlockType Fcn Name "m2*h*xdd*cos2" Position [855, 632, 1105, 668] ShowName off Expr "(u(2)*h)/(h^2*m2^2*cos(u(1))^2-(m1+m2)*(J+h" "^2*m2))" } Block { BlockType Fcn Name "x+h*sin" Position [720, 85, 780, 115] Expr "u(1)+h*sin(u(2))" } Block { BlockType Outport Name "x" Position [495, 88, 525, 102] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "teta" Position [495, 178, 525, 192] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "d" Position [845, 93, 875, 107] Port "3" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "x+h*sin" SrcPort 1 Points [0, 0; 20, 0] Branch { DstBlock "To Workspace3" DstPort 1 } Branch { DstBlock "d" DstPort 1 } } Line { SrcBlock "From7" SrcPort 1 DstBlock "Mux3" DstPort 2 } Line { SrcBlock "From6" SrcPort 1 DstBlock "Mux3" DstPort 1 } Line { SrcBlock "Mux3" SrcPort 1 DstBlock "x+h*sin" DstPort 1 } Line { SrcBlock "Integrator3" SrcPort 1 Points [0, 0; 40, 0] Branch { Points [60, 0] Branch { DstBlock "To Workspace2" DstPort 1 } Branch { DstBlock "teta" DstPort 1 } } Branch { DstBlock "Goto3" DstPort 1 } } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, 0; 20, 0] Branch { DstBlock "Goto1" DstPort 1 } Branch { Points [70, 0] Branch { DstBlock "x" DstPort 1 } Branch { DstBlock "To Workspace1" DstPort 1 } } } Line { SrcBlock "From15" SrcPort 1 DstBlock "Integrator2" DstPort 1 } Line { SrcBlock "m2*h*xdd*cos1" SrcPort 1 DstBlock "Goto4" DstPort 1 } Line { SrcBlock "From1" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "From" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "calcul 2" DstPort 1 } Line { SrcBlock "From10" SrcPort 1 Points [30, 0] Branch { DstBlock "To Workspace8" DstPort 1 } Branch { DstBlock "Integrator" DstPort 1 } } Line { SrcBlock "Integrator2" SrcPort 1 Points [0, 0; 30, 0] Branch { DstBlock "Goto2" DstPort 1 } Branch { DstBlock "Integrator3" DstPort 1 } } Line { SrcBlock "Integrator" SrcPort 1 Points [40, 0] Branch { DstBlock "To Workspace7" DstPort 1 } Branch { Points [50, 0; 30, 0] Branch { DstBlock "Goto" DstPort 1 } Branch { DstBlock "Integrator1" DstPort 1 } } } Line { SrcBlock "From2" SrcPort 1 DstBlock "Mux5" DstPort 1 } Line { SrcBlock "From3" SrcPort 1 DstBlock "Mux5" DstPort 2 } Line { SrcBlock "Mux5" SrcPort 1 DstBlock "calcul 1" DstPort 1 } Line { SrcBlock "calcul 1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "calcul 2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "From13" SrcPort 1 DstBlock "Mux" DstPort 3 } Line { SrcBlock "F" SrcPort 1 Points [20, 0] Branch { DstBlock "Mux" DstPort 4 } Branch { Points [0, 330] DstBlock "Mux6" DstPort 2 } } Line { SrcBlock "Mux1" SrcPort 1 DstBlock "m2*h*xdd*cos1" DstPort 1 } Line { SrcBlock "m2*h*xdd*cos2" SrcPort 1 DstBlock "Goto6" DstPort 1 } Line { SrcBlock "Mux2" SrcPort 1 DstBlock "m2*h*xdd*cos2" DstPort 1 } Line { SrcBlock "calcul 3" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { SrcBlock "calcul 4" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "From5" SrcPort 1 DstBlock "Mux4" DstPort 1 } Line { SrcBlock "From8" SrcPort 1 DstBlock "Mux4" DstPort 2 } Line { SrcBlock "Mux4" SrcPort 1 DstBlock "calcul 3" DstPort 1 } Line { SrcBlock "From11" SrcPort 1 DstBlock "Mux7" DstPort 1 } Line { SrcBlock "From14" SrcPort 1 DstBlock "Mux7" DstPort 2 } Line { SrcBlock "Mux7" SrcPort 1 DstBlock "calcul 4" DstPort 1 } Line { SrcBlock "From19" SrcPort 1 DstBlock "Mux8" DstPort 1 } Line { SrcBlock "Mux8" SrcPort 1 DstBlock "calcul 5" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Mux1" DstPort 2 } Line { SrcBlock "From16" SrcPort 1 DstBlock "Mux1" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "Mux2" DstPort 2 } Line { SrcBlock "From4" SrcPort 1 DstBlock "Mux2" DstPort 1 } Line { SrcBlock "From9" SrcPort 1 DstBlock "Mux8" DstPort 2 } Line { SrcBlock "From12" SrcPort 1 DstBlock "Mux6" DstPort 1 } Line { SrcBlock "Mux6" SrcPort 1 DstBlock "calcul 6" DstPort 1 } Line { SrcBlock "calcul 5" SrcPort 1 DstBlock "Sum2" DstPort 3 } Line { SrcBlock "calcul 6" SrcPort 1 DstBlock "Sum2" DstPort 4 } } } Block { BlockType Terminator Name "Terminator1" Position [540, 425, 560, 445] ShowName off } Block { BlockType Terminator Name "Terminator2" Position [550, 280, 570, 300] ShowName off } Block { BlockType Terminator Name "Terminator8" Position [545, 225, 565, 245] ShowName off } Block { BlockType Terminator Name "Terminator9" Position [550, 170, 570, 190] ShowName off } Block { BlockType ToWorkspace Name "To Workspace" Position [170, 109, 220, 141] BackgroundColor "yellow" ShowName off VariableName "t" Buffer "inf" Decimation "1" SampleTime "Tplot" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace1" Position [310, 115, 360, 145] Orientation "up" BackgroundColor "yellow" ShowName off VariableName "F" Buffer "inf" Decimation "1" SampleTime "Tplot" SaveFormat "Matrix" } Block { BlockType SubSystem Name "graf.m" Ports [0, 0, 0, 0, 0] Position [195, 24, 295, 66] ForegroundColor "blue" DropShadow on OpenFcn "graf" ShowPortLabels on MaskDisplay "disp('Visualisation')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "graf.m" Location [489, 302, 987, 602] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" AutoZoom on } } Block { BlockType SubSystem Name "init.m" Ports [0, 0, 0, 0, 0] Position [50, 24, 150, 66] ForegroundColor "red" DropShadow on OpenFcn "init" ShowPortLabels on MaskDisplay "disp('Initialisation')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "init.m" Location [489, 302, 987, 602] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" AutoZoom on } } Line { SrcBlock "Clock" SrcPort 1 DstBlock "To Workspace" DstPort 1 } Line { SrcBlock "Système réel" SrcPort 3 DstBlock "Terminator2" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [30, 0] Branch { DstBlock "To Workspace1" DstPort 1 } Branch { DstBlock "Système réel" DstPort 1 } } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Step" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Step1" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Système réel" SrcPort 2 DstBlock "Terminator8" DstPort 1 } Line { SrcBlock "Système réel" SrcPort 1 DstBlock "Terminator9" DstPort 1 } Line { SrcBlock "Step2" SrcPort 1 DstBlock "Charge seule" DstPort 1 } Line { SrcBlock "Charge seule" SrcPort 1 DstBlock "Terminator1" DstPort 1 } } }