Model { Name "model_simulation_simple" Version 4.00 SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowStorageClass off ExecutionOrder off RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Wed Oct 11 15:39:07 2006" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "simani" ModifiedDateFormat "%" LastModifiedDate "Thu Oct 12 16:00:30 2006" ModelVersionFormat "1.%" ConfigurationManager "None" SimParamPage "Solver" StartTime "0.0" StopTime "ts" SolverMode "Auto" Solver "VariableStepDiscrete" RelTol "1e-3" AbsTol "auto" Refine "1" MaxStep "auto" MinStep "auto" MaxNumMinSteps "-1" 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 "Array" LimitDataPoints on MaxDataPoints "1000" Decimation "1" AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" SingleTaskRateTransMsg "none" MultiTaskRateTransMsg "error" IntegerOverflowMsg "warning" CheckForMatrixSingularity "none" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" InvalidFcnCallConnMsg "error" SignalLabelMismatchMsg "none" LinearizationMsg "none" VectorMatrixConversionMsg "none" SfunCompatibilityCheckMsg "none" BlockPriorityViolationMsg "warning" ArrayBoundsChecking "none" ConsistencyChecking "none" ZeroCross on Profile off SimulationMode "normal" RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off TLCProfiler off TLCDebug off TLCCoverage off 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 OptimizeBlockIOStorage on BufferReuse on ParameterPooling on BlockReductionOpt on RTWExpressionDepthLimit 5 BooleanDataType 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 "model_simulation_simple" Location [2, 82, 1014, 744] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType Scope Name "Confronto Uscite" Ports [1] Position [445, 369, 475, 401] Floating off Location [188, 365, 512, 604] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } List { ListType SelectedSignals axes1 "" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData1" DataFormat "StructureWithTime" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType DigitalClock Name "Digital Clock" Position [110, 23, 175, 47] SampleTime "Tc" } Block { BlockType Display Name "Display" Ports [1] Position [280, 20, 370, 50] Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Mux Name "Mux" Ports [2, 1] Position [200, 446, 205, 484] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux1" Ports [2, 1] Position [400, 366, 405, 404] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType DiscreteStateSpace Name "Osservatore Uscita y(t)" Position [230, 426, 360, 504] A "Ao" B "Bo" C "Co" D "Do" X0 "0" SampleTime "Tc" Realization "auto" RTWStateStorageClass "Auto" } Block { BlockType DiscreteStateSpace Name "Processo" Position [170, 80, 280, 160] A "A" B "B" C "C" D "D" X0 "x0" SampleTime "Tc" Realization "auto" RTWStateStorageClass "Auto" } Block { BlockType Scope Name "Residuo r(t) \nUscita y(t)" Ports [1] Position [615, 449, 645, 481] Floating off Location [5, 60, 1029, 771] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } List { ListType SelectedSignals axes1 "" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace on SaveName "r" DataFormat "Array" LimitDataPoints off MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Sin Name "Sine Wave" Position [65, 105, 95, 135] SineType "Time-based" Amplitude "1" Bias "0" Frequency "1" Phase "0" Samples "10" Offset "0" SampleTime "Tc" VectorParams1D on } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [380, 200, 400, 220] ShowName off IconShape "round" Inputs "++|" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum3" Ports [2, 1] Position [505, 455, 525, 475] ShowName off IconShape "round" Inputs "+-|" SaturateOnIntegerOverflow on } Block { BlockType Scope Name "Uscita y(t)" Ports [1] Position [440, 194, 470, 226] Floating off Location [188, 365, 512, 604] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } List { ListType SelectedSignals axes1 "" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Step Name "fy(t) #1" Position [300, 195, 330, 225] Time "tfy" Before "0" After "1" SampleTime "Tc" VectorParams1D on } Line { SrcBlock "Sine Wave" SrcPort 1 Points [10, 0] Branch { DstBlock "Processo" DstPort 1 } Branch { Points [0, 335] DstBlock "Mux" DstPort 1 } } Line { SrcBlock "Processo" SrcPort 1 Points [105, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Osservatore Uscita y(t)" SrcPort 1 Points [10, 0] Branch { DstBlock "Sum3" DstPort 2 } Branch { Points [0, -70] DstBlock "Mux1" DstPort 2 } } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Osservatore Uscita y(t)" DstPort 1 } Line { SrcBlock "Digital Clock" SrcPort 1 DstBlock "Display" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [5, 0] Branch { DstBlock "Uscita y(t)" DstPort 1 } Branch { Points [0, 0; 0, 105] Branch { Points [105, 0] DstBlock "Sum3" DstPort 1 } Branch { Points [-35, 0] Branch { Points [-225, 0; 0, 160] DstBlock "Mux" DstPort 2 } Branch { Points [0, 60] DstBlock "Mux1" DstPort 1 } } } } Line { SrcBlock "fy(t) #1" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Sum3" SrcPort 1 DstBlock "Residuo r(t) \nUscita y(t)" DstPort 1 } Line { SrcBlock "Mux1" SrcPort 1 DstBlock "Confronto Uscite" DstPort 1 } Annotation { Position [425, 338] Text "y(t)" } Annotation { Position [375, 481] Text "y^(t)" } Annotation { Position [579, 451] Text "r(t)" } } }