Model { Name "magballdemo" Version 6.0 GraphicalInterface { NumRootInports 0 NumRootOutports 0 ParameterArgumentNames "" ComputedModelVersion "1.115" NumModelReferences 0 NumTestPointedSignals 0 } PreLoadFcn "magballdat" SaveDefaultBlockParams on SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ShowTestPointIcons on ShowViewerIcons on SortedOrder off ExecutionContextIcon off ShowLinearizationAnnotations on RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off CovReportOnPause on ScopeRefreshTime 0.035000 OverrideScopeRefreshTime on DisableAllScopes off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" BlockNameDataTip on BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Fri Jun 13 15:25:22 2003" Creator "lparsons" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "jglass" ModifiedDateFormat "%" LastModifiedDate "Tue Apr 06 10:54:56 2004" ModelVersionFormat "1.%" ConfigurationManager "None" LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off ExtModeBatchMode off ExtModeEnableFloating on ExtModeTrigType "manual" ExtModeTrigMode "normal" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigDurationFloating "auto" 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 off ProdHWDeviceType "32-bit Generic" ShowModelReferenceBlockVersion off ShowModelReferenceBlockIO off Array { Type "Handle" Dimension 1 Simulink.ConfigSet { $ObjectID 1 Version "1.0.4" Array { Type "Handle" Dimension 7 Simulink.SolverCC { $ObjectID 2 Version "1.0.4" StartTime "0.0" StopTime "10" AbsTol "auto" FixedStep "auto" InitialStep "auto" MaxNumMinSteps "-1" MaxOrder 5 ExtrapolationOrder 4 NumberNewtonIterations 1 MaxStep "auto" MinStep "auto" RelTol "1e-3" SolverMode "Auto" Solver "ode45" ZeroCrossControl "UseLocalSettings" PositivePriorityOrder off AutoInsertRateTranBlk off SampleTimeConstraint "Unconstrained" RateTranMode "Deterministic" } Simulink.DataIOCC { $ObjectID 3 Version "1.0.4" Decimation "1" ExternalInput "[t, u]" FinalStateName "xFinal" InitialState "x0" LimitDataPoints on MaxDataPoints "1000" LoadExternalInput off LoadInitialState off SaveFinalState off SaveFormat "Array" SaveOutput on SaveState off SaveTime on StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "logsOut" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" } Simulink.OptimizationCC { $ObjectID 4 Version "1.0.4" BlockReduction off BooleanDataType on ConditionallyExecuteInputs on ConditionalExecOptimization "on_for_testing" InlineParams on InlineInvariantSignals on OptimizeBlockIOStorage on BufferReuse off EnforceIntegerDowncast on ExpressionFolding on FoldNonRolledExpr on LocalBlockOutputs on ParameterPooling on RollThreshold 5 SystemCodeInlineAuto off StateBitsets off DataBitsets off UseTempVars off ZeroExternalMemoryAtStartup on ZeroInternalMemoryAtStartup on InitFltsAndDblsToZero on NoFixptDivByZeroProtection off OptimizeModelRefInitCode off LifeSpan "inf" } Simulink.DebuggingCC { $ObjectID 5 Version "1.0.4" ConsistencyChecking "none" ArrayBoundsChecking "none" AlgebraicLoopMsg "warning" ArtificialAlgebraicLoopMsg "warning" CheckSSInitialOutputMsg on CheckExecutionContextPreStartOutputMsg on CheckExecutionContextRuntimeOutputMsg on SignalResolutionControl "TryResolveAllWithWarning" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" SolverPrmCheckMsg "none" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" TasksWithSamePriorityMsg "warning" CheckMatrixSingularityMsg "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" SFcnCompatibilityMsg "none" UniqueDataStoreMsg "none" RootOutportRequireBusObject "warning" AssertControl "UseLocalSettings" EnableOverflowDetection off ModelReferenceIOMsg "none" ModelReferenceVersionMismatchMessage "none" ModelReferenceIOMismatchMessage "none" ModelReferenceCSMismatchMessage "none" ModelReferenceSimTargetVerbose off UnknownTsInhSupMsg "warning" ModelReferenceDataLoggingMessage "warning" ModelReferenceSymbolNameMessage "warning" } Simulink.HardwareCC { $ObjectID 6 Version "1.0.4" ProdBitPerChar 8 ProdBitPerShort 16 ProdBitPerInt 32 ProdBitPerLong 32 ProdIntDivRoundTo "Undefined" ProdEndianess "Unspecified" ProdWordSize 32 ProdShiftRightIntArith on ProdHWDeviceType "32-bit Generic" TargetBitPerChar 8 TargetBitPerShort 16 TargetBitPerInt 32 TargetBitPerLong 32 TargetShiftRightIntArith on TargetIntDivRoundTo "Undefined" TargetEndianess "Unspecified" TargetWordSize 32 TargetTypeEmulationWarnSuppressLevel 0 TargetPreprocMaxBitsSint 32 TargetPreprocMaxBitsUint 32 TargetHWDeviceType "Specified" TargetUnknown on ProdEqTarget on } Simulink.ModelReferenceCC { $ObjectID 7 Version "1.0.4" UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" CheckModelReferenceTargetMessage "error" ModelReferenceNumInstancesAllowed "Multi" ModelReferencePassRootInputsByReference on ModelReferenceMinAlgLoopOccurrences off } Simulink.RTWCC { $BackupClass "Simulink.RTWCC" $ObjectID 8 Version "1.0.4" SystemTargetFile "grt.tlc" GenCodeOnly off MakeCommand "make_rtw" TemplateMakefile "grt_default_tmf" GenerateReport off SaveLog off RTWVerbose on RetainRTWFile off ProfileTLC off TLCDebug off TLCCoverage off TLCAssert off ProcessScriptMode "Default" ConfigurationMode "Optimized" ConfigAtBuild off IncludeHyperlinkInReport off LaunchReport off Array { Type "Handle" Dimension 2 Simulink.CodeAppCC { $ObjectID 9 Version "1.0.4" ForceParamTrailComments off GenerateComments on IgnoreCustomStorageClasses on IncHierarchyInIds off MaxIdLength 31 PreserveName off PreserveNameWithParent off ShowEliminatedStatement off IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off IncDataTypeInIds off PrefixModelToSubsysFcnNames on CustomSymbolStr "$R$N$M" MangleLength 1 DefineNamingRule "None" ParamNamingRule "None" SignalNamingRule "None" InsertBlockDesc off SimulinkBlockComments on EnableCustomComments off InlinedPrmAccess "Literals" ReqsInCode off } Simulink.GRTTargetCC { $BackupClass "Simulink.TargetCC" $ObjectID 10 Version "1.0.4" TargetFcnLib "ansi_tfl_tmw.mat" GenFloatMathFcnCalls "ANSI_C" UtilityFuncGeneration "Auto" GenerateFullHeader on GenerateSampleERTMain off IsPILTarget off ModelReferenceCompliant on IncludeMdlTerminateFcn on CombineOutputUpdateFcns off SuppressErrorStatus off IncludeFileDelimiter "Auto" ERTCustomFileBanners off SupportAbsoluteTime on LogVarNameModifier "rt_" MatFileLogging on MultiInstanceERTCode off SupportNonFinite on SupportComplex on PurelyIntegerCode off SupportContinuousTime on SupportNonInlinedSFcns on ExtMode off ExtModeStaticAlloc off ExtModeTesting off ExtModeStaticAllocSize 1000000 ExtModeTransport 0 ExtModeMexFile "ext_comm" RTWCAPISignals off RTWCAPIParams off RTWCAPIStates off GenerateASAP2 off } PropName "Components" } } PropName "Components" } Name "Configuration" SimulationMode "normal" ExtraOptions "-aDialogCategory=0 " CurrentDlgPage "Solver" } PropName "ConfigurationSets" } Simulink.ConfigSet { $PropName "ActiveConfigurationSet" $ObjectID 1 } BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } BlockParameterDefaults { Block { BlockType Constant Value "1" VectorParams1D on OutDataTypeMode "Inherit from 'Constant value'" OutDataType "sfix(16)" ConRadixGroup "Use specified scaling" OutScaling "2^0" SampleTime "inf" } Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" 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 SampleTime "-1" } Block { BlockType Inport Port "1" BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" 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" SampleTime "-1" OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType Outport Port "1" BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Product Inputs "2" Multiplication "Element-wise(.*)" InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Scope Floating off ModelBased off TickLabels "OneTimeTick" ZoomMode "on" Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType SubSystem ShowPortLabels on Permissions "ReadWrite" PermitHierarchicalResolution "All" SystemSampleTime "-1" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Sum IconShape "rectangular" Inputs "++" InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType ZeroPole Zeros "[1]" Poles "[0 1]" Gain "[1]" AbsoluteTolerance "auto" } } 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 "magballdemo" Location [459, 490, 1286, 747] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType SubSystem Name "Controller" Ports [1, 1] Position [195, 40, 255, 100] TreatAsAtomicUnit off MinAlgLoopOccurrences off PropExecContextAcrossSSBoundary on RTWSystemCode "Auto" System { Name "Controller" Location [371, 534, 687, 662] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 48, 70, 62] IconDisplay "Port number" LatchInput off } Block { BlockType ZeroPole Name "Controller" Position [115, 37, 175, 73] Zeros "[-11.5000+5.7900i,-11.5000-5.7900i]" Poles "[0 -1000]" Gain "-3.3057e+004" } Block { BlockType Outport Name "Out1" Position [225, 48, 255, 62] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 DstBlock "Controller" DstPort 1 } Line { SrcBlock "Controller" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "Creating Custom Views" Ports [] Position [520, 178, 789, 202] DropShadow on ShowName off Priority "2" OpenFcn "helpview([docroot '/toolbox/slcontrol/slcontrol" ".map'], 'custom_views')" TreatAsAtomicUnit off MinAlgLoopOccurrences off PropExecContextAcrossSSBoundary on RTWSystemCode "Auto" MaskInitialization "\n" MaskDisplay "disp('Creating Custom Views')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Creating Custom Views" Location [260, 626, 626, 833] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType SubSystem Name "Subsystem" Ports [] Position [80, 75, 110, 105] TreatAsAtomicUnit off MinAlgLoopOccurrences off PropExecContextAcrossSSBoundary on RTWSystemCode "Auto" System { Name "Subsystem" Location [203, 331, 569, 538] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" } } } } Block { BlockType Constant Name "Desired\nHeight" Position [20, 55, 50, 85] Value "0.05" Port { PortNumber 1 LinearAnalysisInput on RTWStorageClass "Auto" DataLoggingNameMode "SignalName" ShowSigGenPortName on } } Block { BlockType SubSystem Name "Exporting and Saving Results" Ports [] Position [520, 213, 789, 237] DropShadow on ShowName off Priority "2" OpenFcn "helpview([docroot '/toolbox/slcontrol/slcontrol" ".map'], 'exporting')" TreatAsAtomicUnit off MinAlgLoopOccurrences off PropExecContextAcrossSSBoundary on RTWSystemCode "Auto" MaskInitialization "\n" MaskDisplay "disp('Exporting and Saving Results')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Exporting and Saving Results" Location [260, 626, 626, 833] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType SubSystem Name "Subsystem" Ports [] Position [80, 75, 110, 105] TreatAsAtomicUnit off MinAlgLoopOccurrences off PropExecContextAcrossSSBoundary on RTWSystemCode "Auto" System { Name "Subsystem" Location [203, 331, 569, 538] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" } } } } Block { BlockType SubSystem Name "Inspecting and Validating Results" Ports [] Position [520, 143, 789, 167] DropShadow on ShowName off Priority "2" OpenFcn "helpview([docroot '/toolbox/slcontrol/slcontrol" ".map'], 'analyzing')" TreatAsAtomicUnit off MinAlgLoopOccurrences off PropExecContextAcrossSSBoundary on RTWSystemCode "Auto" MaskInitialization "\n" MaskDisplay "disp('Inspecting and Validating Results')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Inspecting and Validating Results" Location [260, 626, 626, 833] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType SubSystem Name "Subsystem" Ports [] Position [80, 75, 110, 105] TreatAsAtomicUnit off MinAlgLoopOccurrences off PropExecContextAcrossSSBoundary on RTWSystemCode "Auto" System { Name "Subsystem" Location [203, 331, 569, 538] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" } } } } Block { BlockType SubSystem Name "Linearization GUI Overview" Ports [] Position [520, 38, 789, 62] DropShadow on ShowName off Priority "2" OpenFcn "helpview([docroot '/toolbox/slcontrol/slcontrol" ".map'], 'linearizing_models')" TreatAsAtomicUnit off MinAlgLoopOccurrences off PropExecContextAcrossSSBoundary on RTWSystemCode "Auto" MaskInitialization "\n" MaskDisplay "disp('Linearization GUI Overview')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Linearization GUI Overview" Location [260, 626, 626, 833] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType SubSystem Name "Subsystem" Ports [] Position [80, 75, 110, 105] TreatAsAtomicUnit off MinAlgLoopOccurrences off PropExecContextAcrossSSBoundary on RTWSystemCode "Auto" System { Name "Subsystem" Location [203, 331, 569, 538] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" } } } } Block { BlockType SubSystem Name "Magnetic\nBall Plant" Ports [1, 1] Position [310, 40, 370, 100] TreatAsAtomicUnit off MinAlgLoopOccurrences off PropExecContextAcrossSSBoundary on RTWSystemCode "Auto" Port { PortNumber 1 PropagatedSignals "h" LinearAnalysisOutput on RTWStorageClass "Auto" DataLoggingNameMode "SignalName" ShowSigGenPortName on } System { Name "Magnetic\nBall Plant" Location [126, 148, 672, 549] Open off ModelBrowserVisibility off ModelBrowserWidth 212 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "In" Position [45, 215, 75, 230] Orientation "up" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "1/L" Position [110, 175, 140, 205] Gain "1/L" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Integrator Name "Current" Ports [1, 1] Position [215, 175, 245, 205] InitialCondition "7.0036" Port { PortNumber 1 Name "i" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" DataLoggingName "i" ShowSigGenPortName on } } Block { BlockType Product Name "Divide" Ports [2, 1] Position [380, 130, 415, 165] Orientation "up" Inputs "*/" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutScaling "2^-10" RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType Constant Name "Gravity" Position [115, 45, 145, 75] Value "9.81" } Block { BlockType Gain Name "R/L" Position [200, 240, 230, 270] Orientation "left" Gain "R/L" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Math Name "Square" Ports [1, 1] Position [300, 175, 330, 205] Operator "square" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [160, 180, 180, 200] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [195, 50, 215, 70] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "beta/m" Position [280, 95, 310, 125] Orientation "left" Gain "beta/m" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Integrator Name "dhdt" Ports [1, 1] Position [275, 45, 305, 75] Port { PortNumber 1 Name "dhdt" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" DataLoggingName "dhdt" ShowSigGenPortName on } } Block { BlockType Integrator Name "height" Ports [1, 1] Position [370, 45, 400, 75] InitialCondition "0.05" Port { PortNumber 1 Name "h" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" ShowSigGenPortName on } } Block { BlockType Outport Name "Out" Position [460, 25, 490, 40] Orientation "up" IconDisplay "Port number" BusOutputAsStruct off } Line { Name "dhdt" Labels [0, 1] SrcBlock "dhdt" SrcPort 1 DstBlock "height" DstPort 1 } Line { Name "h" Labels [0, 1] SrcBlock "height" SrcPort 1 Points [50, 0] Branch { Points [20, 0] DstBlock "Out" DstPort 1 } Branch { Points [0, 130; -50, 0] DstBlock "Divide" DstPort 2 } } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Current" DstPort 1 } Line { SrcBlock "1/L" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "R/L" SrcPort 1 Points [-25, 0] DstBlock "Sum" DstPort 2 } Line { Name "i" Labels [0, 1] SrcBlock "Current" SrcPort 1 Points [0, 0; 15, 0] Branch { DstBlock "Square" DstPort 1 } Branch { Points [0, 65] DstBlock "R/L" DstPort 1 } } Line { SrcBlock "Square" SrcPort 1 Points [55, 0] DstBlock "Divide" DstPort 1 } Line { SrcBlock "Divide" SrcPort 1 Points [0, -15] DstBlock "beta/m" DstPort 1 } Line { SrcBlock "Gravity" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "beta/m" SrcPort 1 Points [-70, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "dhdt" DstPort 1 } Line { SrcBlock "In" SrcPort 1 Points [0, -20] DstBlock "1/L" DstPort 1 } Annotation { Name "V" Position [79, 181] } } } Block { BlockType Scope Name "Scope" Ports [1] Position [455, 54, 485, 86] Location [191, 341, 515, 580] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } SaveName "ScopeData1" DataFormat "StructureWithTime" } Block { BlockType SubSystem Name "Specifying Linearization I/O Points" Ports [] Position [520, 108, 789, 132] DropShadow on ShowName off Priority "2" OpenFcn "helpview([docroot '/toolbox/slcontrol/slcontrol" ".map'], 'analysis_ios')" TreatAsAtomicUnit off MinAlgLoopOccurrences off PropExecContextAcrossSSBoundary on RTWSystemCode "Auto" MaskInitialization "\n" MaskDisplay "disp('Specifying Linearization I/O Points')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Specifying Linearization I/O Points" Location [260, 626, 626, 833] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType SubSystem Name "Subsystem" Ports [] Position [80, 75, 110, 105] TreatAsAtomicUnit off MinAlgLoopOccurrences off PropExecContextAcrossSSBoundary on RTWSystemCode "Auto" System { Name "Subsystem" Location [203, 331, 569, 538] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" } } } } Block { BlockType SubSystem Name "Specifying Operating Points" Ports [] Position [520, 73, 789, 97] DropShadow on ShowName off Priority "2" OpenFcn "helpview([docroot '/toolbox/slcontrol/slcontrol" ".map'], 'op_points')" TreatAsAtomicUnit off MinAlgLoopOccurrences off PropExecContextAcrossSSBoundary on RTWSystemCode "Auto" MaskInitialization "\n" MaskDisplay "disp('Specifying Operating Points')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Specifying Operating Points" Location [260, 626, 626, 833] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType SubSystem Name "Subsystem" Ports [] Position [80, 75, 110, 105] TreatAsAtomicUnit off MinAlgLoopOccurrences off PropExecContextAcrossSSBoundary on RTWSystemCode "Auto" System { Name "Subsystem" Location [203, 331, 569, 538] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" } } } } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [125, 60, 145, 80] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Line { SrcBlock "Magnetic\nBall Plant" SrcPort 1 Points [0, 0; 35, 0] Branch { DstBlock "Scope" DstPort 1 } Branch { Points [0, 110; -275, 0] DstBlock "Sum2" DstPort 2 } } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "Controller" DstPort 1 } Line { SrcBlock "Controller" SrcPort 1 DstBlock "Magnetic\nBall Plant" DstPort 1 } Line { SrcBlock "Desired\nHeight" SrcPort 1 DstBlock "Sum2" DstPort 1 } Annotation { Name "Error\nSignal" Position [164, 55] } Annotation { Name "Reference \nSignal" Position [93, 55] } Annotation { Name "V" Position [283, 59] } Annotation { Name "h" Position [403, 60] } Annotation { Name "Linearization GUI Getting Started Topics" Position [657, 18] FontName "Arial" FontSize 16 FontWeight "bold" } Annotation { Name "Note: You can always launch the linearization G" "UI in the Control and Estimation Tools Manager \nby choosing Tools -> Control" " Design -> Linear Analysis from any Simulink model." Position [27, 219] HorizontalAlignment "left" } } }