Model { Name "asdas" Version 3.00 SimParamPage "Solver" SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off ShowPortDataTypes off StartTime "0.0" StopTime "10.0" SolverMode "Auto" Solver "ode45" RelTol "1e-3" AbsTol "auto" 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" 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 on BlockAttributesDataTip off BlockPortWidthsDataTip off BlockDescriptionStringDataTip off BlockMaskParametersDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off OptimizeBlockIOStorage on BufferReuse on BooleanDataType off RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "oneshot" 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 off Created "Thu Nov 07 15:23:06 2002" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "jislp" ModifiedDateFormat "%" LastModifiedDate "Thu Nov 07 15:41:45 2002" 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 "asdas" Location [322, 83, 822, 384] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on ReportName "simulink-default.rpt" Block { BlockType DiscreteTransferFcn Name "Discrete\nTransfer Fcn" Position [160, 94, 255, 136] Numerator "[6 -8.5 2.2]" Denominator "[-2 -12 -5.5]" SampleTime "1" } Block { BlockType DiscreteTransferFcn Name "Discrete\nTransfer Fcn1" Position [310, 97, 370, 133] Numerator "[1 -3.5 -2.0000]" Denominator "[1.0000 -3.5000 3.5000 -1.0000]" SampleTime "1" } Block { BlockType SubSystem Name "PMF" Ports [1, 1, 0, 0, 0] Position [155, 20, 265, 60] ShowPortLabels on MaskType "PMF Block" MaskDescription "Polynomial matrix fraction description of a lin" "ear system.\n\nThis block represents a linear system defined by the polynomia" "l matrix fraction of its transfer function." MaskHelp "This block represents a linear system [A,B,C" ",D] defined by the polynomial matrix fraction (PMF) of its transfe" "r function T. \n

\nLeft Matrix Fraction item of the popup me" "nu Type indicates the transfer function in the form of left PMF" ": \n

\nT = inv(Q) P.\n

\nRight Matrix Fraction<" "/b> item is used if the transfer function is given in the form of right PM" "F:\n

\nT = P inv(Q). \n

\n The variable " "determines the type of the system:\n

\n- s, p are used for continou" "s time systems (Laplace transform).\n

\n- z, q are used for discrete" " time transfer functions in forward-shift operator (Z-transform).\n

\n- " "d, z^-1 are used for discrete time transfer functions in backward-shift o" "perator.\n

\n Note: For the variables s,p,z,q, the transfer f" "unction is defined as\n

\nT = C inv(vI-A) B + <" "I>D,\n

\nwhere v is the variable of P,Q.\nFor the variabl" "es d, z^-1, the transfer function is defined as\n

\nT = C " "v inv(I-Av) B + D.\n

\nNote: Initial st" "ates concern the observer-form realization of the system as defined by LM" "F2S and RMF2S functions. Their number must equal the sum of column degrees of" " the denominator matrix Q in case of right PMF and the sum of row degr" "ees of Q for left PMF description. \n

\nSee also POL, LMF2S, RMF2S." MaskPromptString "Type:|Numerator P:|Denominator Q:|Initial state" "s:|Sample time (discrete time only):|Force variable:" MaskStyleString "popup(Left Matrix Fraction|Right Matrix Fractio" "n),edit,edit,edit,edit,popup(No change|s (continous time)|p (continous ti" "me)|z (discrete time)|q (discrete time)|d (discrete time)|z^-1" " (discrete time))" MaskTunableValueString "on,on,on,on,on,on" MaskCallbackString "|||||" MaskEnableString "on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on" MaskVariables "Type=@1;P=@2;Q=@3;InCon=@4;SampTime=@5;fvar=@6;" MaskInitialization "Q=pol(Q);\nP=pol(P);\nLabel = 'xxx';\n[A,B,C,D," "Label,var] = polymask(P,Q, Type, fvar, length(InCon));\nupdate;\n" MaskDisplay "disp(Label);\n " MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "Right Matrix Fraction|[-5.5 -12 -2]|[2.2 -8.5 6" "]|[ ]|1|d (discrete time)" System { Name "PMF" Location [440, 28, 660, 116] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType StateSpace Name "Inner" Position [75, 27, 135, 63] A "A" B "B" C "C" D "D" X0 "InCon" } Block { BlockType Outport Name "Out1" Position [165, 38, 195, 52] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Inner" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Inner" DstPort 1 } } } Block { BlockType Scope Name "Scope" Ports [1, 0, 0, 0, 0] Position [340, 219, 370, 251] Floating off Location [188, 365, 631, 700] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Step Name "Step" Position [15, 95, 45, 125] Time "1" Before "0" After "1" SampleTime "0" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [105, 105, 125, 125] ShowName off IconShape "round" Inputs "|+-" SaturateOnIntegerOverflow on } Line { SrcBlock "Step" SrcPort 1 Points [45, 0; 0, 10; -5, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Discrete\nTransfer Fcn1" SrcPort 1 Points [25, 0] Branch { Points [0, 95; -285, 0] DstBlock "Sum" DstPort 2 } Branch { Points [75, 0; 0, 70; -150, 0] DstBlock "Scope" DstPort 1 } } Line { SrcBlock "PMF" SrcPort 1 Points [30, 0; 0, 80; -5, 0] DstBlock "Discrete\nTransfer Fcn1" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [10, 0] DstBlock "PMF" DstPort 1 } } }