Model { Name "Zad1S4" Version 5.0 SaveDefaultBlockParams on SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ExecutionOrder off RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Wed Jan 25 21:53:40 2012" Creator "TomZ" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "student" ModifiedDateFormat "%" LastModifiedDate "Fri Jun 21 10:23:47 2013" ModelVersionFormat "1.%" ConfigurationManager "None" SimParamPage "Solver" LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF 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 ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock on BufferReuse on RTWExpressionDepthLimit 5 SimulationMode "normal" Solver "ode5" SolverMode "Auto" StartTime "0.0" StopTime "50000.0" MaxOrder 5 MaxStep "auto" MinStep "auto" MaxNumMinSteps "-1" InitialStep "auto" FixedStep "1" RelTol "1e-3" AbsTol "auto" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" LoadExternalInput off ExternalInput "[t, u]" LoadInitialState off InitialState "xInitial" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput on OutputSaveName "yout" SaveFinalState off FinalStateName "xFinal" SaveFormat "Array" Decimation "1" LimitDataPoints on MaxDataPoints "1000" SignalLoggingName "sigsOut" ConsistencyChecking "none" ArrayBoundsChecking "none" AlgebraicLoopMsg "warning" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" CheckForMatrixSingularity "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterPrecisionLossMsg "warning" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SfunCompatibilityCheckMsg "none" RTWInlineParameters off BlockReductionOpt on BooleanDataType on ConditionallyExecuteInputs on ParameterPooling on OptimizeBlockIOStorage on ZeroCross on AssertionControl "UseLocalSettings" ProdHWDeviceType "Microprocessor" ProdHWWordLengths "8,16,32,32" RTWSystemTargetFile "grt.tlc" RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off RTWRetainRTWFile off TLCProfiler off TLCDebug off TLCCoverage off TLCAssertion off RTWOptions "-aEnforceIntegerDowncast=1 -aFoldNonRolledExpr=1 -a" "InlineInvariantSignals=0 -aInlineParameters=0 -aLocalBlockOutputs=1 -aRollThr" "eshold=5 -aZeroInternalMemoryAtStartup=1 -aZeroExternalMemoryAtStartup=1 -aIn" "itFltsAndDblsToZero=1 -aGenerateReport=0 -aGenCodeOnly=0 -aRTWVerbose=1 -aInc" "ludeHyperlinkInReport=0 -aLaunchReport=0 -aForceParamTrailComments=0 -aGenera" "teComments=1 -aIgnoreCustomStorageClasses=1 -aIncHierarchyInIds=0 -aMaxRTWIdL" "en=31 -aShowEliminatedStatements=0 -aPrefixModelToSubsysFcnNames=1 -aIncDataT" "ypeInIds=0 -aInsertBlockDesc=0 -aSimulinkBlockComments=1 -aInlinedPrmAccess=" "\"Literals\" -aSuppressErrorStatus=0 -aModelReferenceCompliant=1 -aParenthes" "esLevel=\"Nominal\" -aModelStepFunctionPrototypeControlCompliant=0 -aPortable" "WordSizes=0 -aSupportNonInlinedSFcns=1 -aSupportContinuousTime=1 -aSupportCom" "plex=1 -aSupportNonFinite=1 -aSupportAbsoluteTime=1 -aTargetPreCompLibLocatio" "n=\"\" -aTargetLibSuffix=\"\" -aTargetFcnLib=\"ansi_tfl_table_tmw.mat\" -aMul" "tiInstanceERTCode=0 -aLogVarNameModifier=\"rt_\" -aIsPILTarget=0 -aCombineOut" "putUpdateFcns=0 -aGenerateASAP2=0 -aGenerateClassInterface=0 -aGenerateTestIn" "terfaces=0 -aGenerateSampleERTMain=0 -aGenerateFullHeader=1 -aUtilityFuncGene" "ration=\"Auto\" -aIncludeFileDelimiter=\"Auto\" -aIncludeMdlTerminateFcn=1 -a" "PurelyIntegerCode=0 -aERTCustomFileBanners=0 -aRTWCAPIStates=0 -aRTWCAPIParam" "s=0 -aRTWCAPISignals=0 -aMatFileLogging=1 -aGenFloatMathFcnCalls=\"ANSI_C\" -" "aExtModeIntrfLevel=\"Level1\" -aExtModeMexFile=\"ext_comm\" -aExtModeTranspor" "t=0 -aExtModeStaticAllocSize=1000000 -aExtModeTesting=0 -aExtModeStaticAlloc=" "0 -aExtMode=0 " BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Arial" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } BlockParameterDefaults { Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" ShowAdditionalParam off ParameterDataTypeMode "Same as input" ParameterDataType "sfix(16)" ParameterScalingMode "Best Precision: Matrix-wise" ParameterScaling "2^0" OutDataTypeMode "Same as input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType Inport Port "1" PortDimensions "-1" SampleTime "-1" ShowAdditionalParam off LatchInput off DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" Interpolate on } Block { BlockType Integrator ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" ZeroCross on } Block { BlockType Math Operator "exp" OutputSignalType "auto" } Block { BlockType Outport Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Product Inputs "2" Multiplication "Element-wise(.*)" ShowAdditionalParam off InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType Saturate UpperLimit "0.5" LowerLimit "-0.5" LinearizeAsGain on ZeroCross on } Block { BlockType SubSystem ShowPortLabels on Permissions "ReadWrite" RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Sum IconShape "rectangular" Inputs "++" ShowAdditionalParam off InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Arial" FontSize 10 FontWeight "normal" FontAngle "normal" } LineDefaults { FontName "Arial" FontSize 9 FontWeight "normal" FontAngle "normal" } System { Name "Zad1S4" Location [324, 253, 1078, 627] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType SubSystem Name "Obiekt" Ports [2, 1] Position [245, 83, 350, 147] TreatAsAtomicUnit off System { Name "Obiekt" Location [832, 622, 1580, 899] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "qwe" Position [15, 33, 45, 47] } Block { BlockType Inport Name "s" Position [295, 163, 325, 177] Orientation "left" Port "2" } Block { BlockType Gain Name "Gain" Position [210, 25, 240, 55] Gain "1/5" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain1" Position [285, 85, 315, 115] Orientation "left" Gain "2*9.81" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain2" Position [420, 25, 450, 55] Gain "1/2" SaturateOnIntegerOverflow off } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [290, 25, 320, 55] Port { PortNumber 1 Name "h" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } } Block { BlockType Math Name "Math\nFunction" Ports [1, 1] Position [215, 85, 245, 115] Orientation "left" Operator "sqrt" } Block { BlockType Product Name "Product" Ports [2, 1] Position [160, 87, 190, 118] Orientation "left" SaturateOnIntegerOverflow off } Block { BlockType Saturate Name "Saturation" Position [500, 25, 530, 55] UpperLimit "10" LowerLimit "0" } Block { BlockType Saturate Name "Saturation1" Position [75, 26, 110, 54] UpperLimit "1" LowerLimit "0" } Block { BlockType Saturate Name "Saturation2" Position [230, 156, 265, 184] Orientation "left" UpperLimit "1" LowerLimit "0" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [130, 30, 150, 50] ShowName off IconShape "round" Inputs "|+-" SaturateOnIntegerOverflow off } Block { BlockType Outport Name "y" Position [560, 33, 590, 47] } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { Name "h" Labels [0, 0] SrcBlock "Integrator" SrcPort 1 Points [60, 0] Branch { Points [0, 60] DstBlock "Gain1" DstPort 1 } Branch { DstBlock "Gain2" DstPort 1 } } Line { SrcBlock "Gain1" SrcPort 1 DstBlock "Math\nFunction" DstPort 1 } Line { SrcBlock "Math\nFunction" SrcPort 1 Points [-5, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 Points [-15, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "qwe" SrcPort 1 DstBlock "Saturation1" DstPort 1 } Line { SrcBlock "s" SrcPort 1 DstBlock "Saturation2" DstPort 1 } Line { SrcBlock "Saturation" SrcPort 1 DstBlock "y" DstPort 1 } Line { SrcBlock "Saturation1" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Saturation2" SrcPort 1 Points [-20, 0] DstBlock "Product" DstPort 2 } Line { SrcBlock "Gain2" SrcPort 1 DstBlock "Saturation" DstPort 1 } } } } }