Model { Name "fxpdemo_sfun_user_const_rtw" Version 5.0 SaveDefaultBlockParams on SampleTimeColors off LibraryLinkDisplay "none" WideLines on ShowLineDimensions off ShowPortDataTypes on 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 Sep 4 17:12:37 2002" Creator "andyb" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "andyb" ModifiedDateFormat "%" LastModifiedDate "Mon Dec 16 09:19:09 2002" 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 off BufferReuse on RTWExpressionDepthLimit 5 SimulationMode "normal" Solver "FixedStepDiscrete" SolverMode "Auto" StartTime "0.0" StopTime "1" 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 -aExtMode=0 -aExtModeTe" "sting=0 -aFoldNonRolledExpr=1 -aForceParamTrailComments=0 -aGenerateComments=" "1 -aGenerateReport=1 -aIgnoreCustomStorageClasses=1 -aIncDataTypeInIds=0 -aIn" "cHierarchyInIds=0 -aInlineInvariantSignals=0 -aInlineParameters=0 -aInlinedPr" "mAccess=\"Literals\" -aLocalBlockOutputs=1 -aLogVarNameModifier=\"rt_\" -aMax" "RTWIdLen=31 -aPrefixModelToSubsysFcnNames=1 -aRTWVerbose=1 -aRollThreshold=5 " "-aShowEliminatedStatements=0" BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } BlockParameterDefaults { Block { BlockType DataTypeConversion DataType "auto" SaturateOnIntegerOverflow on } Block { BlockType Display Format "short" Decimation "10" Floating off SampleTime "-1" } Block { BlockType Outport Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType "S-Function" FunctionName "system" PortCounts "[]" SFunctionModules "''" } Block { BlockType SubSystem ShowPortLabels on Permissions "ReadWrite" RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } } 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 "fxpdemo_sfun_user_const_rtw" Location [338, 65, 1273, 937] 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 "Data Type Override \nSet to Scaled Doubles\nfor" " this subsystem" Ports [0, 6] Position [450, 17, 580, 553] TreatAsAtomicUnit off DataTypeOverride "ScaledDoubles" System { Name "Data Type Override \nSet to Scaled Doubles\nf" "or this subsystem" Location [528, 131, 753, 673] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType SubSystem Name "Subsystem10" Ports [0, 1] Position [30, 240, 145, 280] TreatAsAtomicUnit off MaskPromptString "Stored Integer Value|Signed integer (otherw" "ise unsigned integer)|Total Number of Bits|Number of Bits to Right of Binary " "Point" MaskStyleString "edit,checkbox,edit,edit" MaskTunableValueString "on,on,on,on" MaskCallbackString "|||" MaskEnableString "on,on,on,on" MaskVisibilityString "on,on,on,on" MaskToolTipString "on,on,on,on" MaskVarAliasString ",,," MaskVariables "storedInt=@1;isSigned=@2;numBits=@3;numFrac" "Bits=@4;" MaskDisplay "disp(sprintf('User SFunction\\nFixed Point" "\\nConstant'))" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "33|off|7|2" System { Name "Subsystem10" Location [573, 466, 1071, 766] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType "S-Function" Name "S-Function" Ports [0, 1] Position [145, 95, 205, 125] FunctionName "sfun_user_fxp_const" Parameters "storedInt, isSigned, numBits, numFracBi" "ts" } Block { BlockType Outport Name "Out1" Position [360, 103, 390, 117] } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem11" Ports [0, 1] Position [30, 315, 145, 355] TreatAsAtomicUnit off MaskPromptString "Stored Integer Value|Signed integer (otherw" "ise unsigned integer)|Total Number of Bits|Number of Bits to Right of Binary " "Point" MaskStyleString "edit,checkbox,edit,edit" MaskTunableValueString "on,on,on,on" MaskCallbackString "|||" MaskEnableString "on,on,on,on" MaskVisibilityString "on,on,on,on" MaskToolTipString "on,on,on,on" MaskVarAliasString ",,," MaskVariables "storedInt=@1;isSigned=@2;numBits=@3;numFrac" "Bits=@4;" MaskDisplay "disp(sprintf('User SFunction\\nFixed Point" "\\nConstant'))" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "33|off|12|2" System { Name "Subsystem11" Location [577, 486, 1075, 786] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType "S-Function" Name "S-Function" Ports [0, 1] Position [145, 95, 205, 125] FunctionName "sfun_user_fxp_const" Parameters "storedInt, isSigned, numBits, numFracBi" "ts" } Block { BlockType Outport Name "Out1" Position [360, 103, 390, 117] } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem12" Ports [0, 1] Position [30, 385, 145, 425] TreatAsAtomicUnit off MaskPromptString "Stored Integer Value|Signed integer (otherw" "ise unsigned integer)|Total Number of Bits|Number of Bits to Right of Binary " "Point" MaskStyleString "edit,checkbox,edit,edit" MaskTunableValueString "on,on,on,on" MaskCallbackString "|||" MaskEnableString "on,on,on,on" MaskVisibilityString "on,on,on,on" MaskToolTipString "on,on,on,on" MaskVarAliasString ",,," MaskVariables "storedInt=@1;isSigned=@2;numBits=@3;numFrac" "Bits=@4;" MaskDisplay "disp(sprintf('User SFunction\\nFixed Point" "\\nConstant'))" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "33|off|17|2" System { Name "Subsystem12" Location [577, 486, 1075, 786] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType "S-Function" Name "S-Function" Ports [0, 1] Position [145, 95, 205, 125] FunctionName "sfun_user_fxp_const" Parameters "storedInt, isSigned, numBits, numFracBi" "ts" } Block { BlockType Outport Name "Out1" Position [360, 103, 390, 117] } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem7" Ports [0, 1] Position [25, 25, 140, 65] TreatAsAtomicUnit off MaskPromptString "Stored Integer Value|Signed integer (otherw" "ise unsigned integer)|Total Number of Bits|Number of Bits to Right of Binary " "Point" MaskStyleString "edit,checkbox,edit,edit" MaskTunableValueString "on,on,on,on" MaskCallbackString "|||" MaskEnableString "on,on,on,on" MaskVisibilityString "on,on,on,on" MaskToolTipString "on,on,on,on" MaskVarAliasString ",,," MaskVariables "storedInt=@1;isSigned=@2;numBits=@3;numFrac" "Bits=@4;" MaskDisplay "disp(sprintf('User SFunction\\nFixed Point" "\\nConstant'))" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "33|on|7|2" System { Name "Subsystem7" Location [577, 486, 1075, 786] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType "S-Function" Name "S-Function" Ports [0, 1] Position [145, 95, 205, 125] FunctionName "sfun_user_fxp_const" Parameters "storedInt, isSigned, numBits, numFracBi" "ts" } Block { BlockType Outport Name "Out1" Position [360, 103, 390, 117] } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem8" Ports [0, 1] Position [25, 100, 140, 140] TreatAsAtomicUnit off MaskPromptString "Stored Integer Value|Signed integer (otherw" "ise unsigned integer)|Total Number of Bits|Number of Bits to Right of Binary " "Point" MaskStyleString "edit,checkbox,edit,edit" MaskTunableValueString "on,on,on,on" MaskCallbackString "|||" MaskEnableString "on,on,on,on" MaskVisibilityString "on,on,on,on" MaskToolTipString "on,on,on,on" MaskVarAliasString ",,," MaskVariables "storedInt=@1;isSigned=@2;numBits=@3;numFrac" "Bits=@4;" MaskDisplay "disp(sprintf('User SFunction\\nFixed Point" "\\nConstant'))" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "33|on|12|2" System { Name "Subsystem8" Location [577, 486, 1075, 786] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType "S-Function" Name "S-Function" Ports [0, 1] Position [145, 95, 205, 125] FunctionName "sfun_user_fxp_const" Parameters "storedInt, isSigned, numBits, numFracBi" "ts" } Block { BlockType Outport Name "Out1" Position [360, 103, 390, 117] } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem9" Ports [0, 1] Position [30, 160, 145, 200] TreatAsAtomicUnit off MaskPromptString "Stored Integer Value|Signed integer (otherw" "ise unsigned integer)|Total Number of Bits|Number of Bits to Right of Binary " "Point" MaskStyleString "edit,checkbox,edit,edit" MaskTunableValueString "on,on,on,on" MaskCallbackString "|||" MaskEnableString "on,on,on,on" MaskVisibilityString "on,on,on,on" MaskToolTipString "on,on,on,on" MaskVarAliasString ",,," MaskVariables "storedInt=@1;isSigned=@2;numBits=@3;numFrac" "Bits=@4;" MaskDisplay "disp(sprintf('User SFunction\\nFixed Point" "\\nConstant'))" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "33|on|17|2" System { Name "Subsystem9" Location [577, 486, 1075, 786] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType "S-Function" Name "S-Function" Ports [0, 1] Position [145, 95, 205, 125] FunctionName "sfun_user_fxp_const" Parameters "storedInt, isSigned, numBits, numFracBi" "ts" } Block { BlockType Outport Name "Out1" Position [360, 103, 390, 117] } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType Outport Name "Out1" Position [165, 38, 195, 52] } Block { BlockType Outport Name "Out2" Position [165, 113, 195, 127] Port "2" } Block { BlockType Outport Name "Out3" Position [170, 173, 200, 187] Port "3" } Block { BlockType Outport Name "Out4" Position [170, 253, 200, 267] Port "4" } Block { BlockType Outport Name "Out5" Position [170, 328, 200, 342] Port "5" } Block { BlockType Outport Name "Out6" Position [170, 398, 200, 412] Port "6" } Line { SrcBlock "Subsystem7" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "Subsystem8" SrcPort 1 DstBlock "Out2" DstPort 1 } Line { SrcBlock "Subsystem9" SrcPort 1 DstBlock "Out3" DstPort 1 } Line { SrcBlock "Subsystem10" SrcPort 1 DstBlock "Out4" DstPort 1 } Line { SrcBlock "Subsystem11" SrcPort 1 DstBlock "Out5" DstPort 1 } Line { SrcBlock "Subsystem12" SrcPort 1 DstBlock "Out6" DstPort 1 } } } Block { BlockType SubSystem Name "Data Type Override \nSet to True Doubles" Ports [0, 1] Position [25, 611, 155, 669] TreatAsAtomicUnit off DataTypeOverride "TrueDoubles" System { Name "Data Type Override \nSet to True Doubles" Location [72, 583, 648, 704] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType SubSystem Name "Subsystem7" Ports [0, 1] Position [25, 25, 140, 65] TreatAsAtomicUnit off MaskPromptString "Stored Integer Value|Signed integer (otherw" "ise unsigned integer)|Total Number of Bits|Number of Bits to Right of Binary " "Point" MaskStyleString "edit,checkbox,edit,edit" MaskTunableValueString "on,on,on,on" MaskCallbackString "|||" MaskEnableString "on,on,on,on" MaskVisibilityString "on,on,on,on" MaskToolTipString "on,on,on,on" MaskVarAliasString ",,," MaskVariables "storedInt=@1;isSigned=@2;numBits=@3;numFrac" "Bits=@4;" MaskDisplay "disp(sprintf('User SFunction\\nFixed Point" "\\nConstant'))" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "33|on|7|2" System { Name "Subsystem7" Location [577, 486, 1075, 786] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType "S-Function" Name "S-Function" Ports [0, 1] Position [145, 95, 205, 125] FunctionName "sfun_user_fxp_const" Parameters "storedInt, isSigned, numBits, numFracBi" "ts" } Block { BlockType Outport Name "Out1" Position [360, 103, 390, 117] } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType Outport Name "Out1" Position [165, 38, 195, 52] } Line { SrcBlock "Subsystem7" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "Data Type Override \nSet to True Singles" Ports [0, 1] Position [445, 626, 575, 684] TreatAsAtomicUnit off DataTypeOverride "TrueSingles" System { Name "Data Type Override \nSet to True Singles" Location [72, 583, 648, 704] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType SubSystem Name "Subsystem7" Ports [0, 1] Position [25, 25, 140, 65] TreatAsAtomicUnit off MaskPromptString "Stored Integer Value|Signed integer (otherw" "ise unsigned integer)|Total Number of Bits|Number of Bits to Right of Binary " "Point" MaskStyleString "edit,checkbox,edit,edit" MaskTunableValueString "on,on,on,on" MaskCallbackString "|||" MaskEnableString "on,on,on,on" MaskVisibilityString "on,on,on,on" MaskToolTipString "on,on,on,on" MaskVarAliasString ",,," MaskVariables "storedInt=@1;isSigned=@2;numBits=@3;numFrac" "Bits=@4;" MaskDisplay "disp(sprintf('User SFunction\\nFixed Point" "\\nConstant'))" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "33|on|7|2" System { Name "Subsystem7" Location [577, 486, 1075, 786] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType "S-Function" Name "S-Function" Ports [0, 1] Position [145, 95, 205, 125] FunctionName "sfun_user_fxp_const" Parameters "storedInt, isSigned, numBits, numFracBi" "ts" } Block { BlockType Outport Name "Out1" Position [360, 103, 390, 117] } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType Outport Name "Out1" Position [165, 38, 195, 52] } Line { SrcBlock "Subsystem7" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType Display Name "Display" Ports [1] Position [280, 40, 370, 70] ShowName off Decimation "1" } Block { BlockType Display Name "Display1" Ports [1] Position [280, 115, 370, 145] ShowName off Decimation "1" } Block { BlockType Display Name "Display10" Ports [1] Position [775, 270, 865, 300] ShowName off Decimation "1" } Block { BlockType Display Name "Display11" Ports [1] Position [775, 345, 865, 375] ShowName off Decimation "1" } Block { BlockType Display Name "Display12" Ports [1] Position [770, 420, 860, 450] ShowName off Decimation "1" } Block { BlockType Display Name "Display14" Ports [1] Position [710, 640, 800, 670] ShowName off Decimation "1" } Block { BlockType Display Name "Display18" Ports [1] Position [290, 625, 380, 655] ShowName off Decimation "1" } Block { BlockType Display Name "Display2" Ports [1] Position [285, 175, 375, 205] ShowName off Decimation "1" } Block { BlockType Display Name "Display3" Ports [1] Position [285, 255, 375, 285] ShowName off Decimation "1" } Block { BlockType Display Name "Display4" Ports [1] Position [285, 330, 375, 360] ShowName off Decimation "1" } Block { BlockType Display Name "Display5" Ports [1] Position [280, 400, 370, 430] ShowName off Decimation "1" } Block { BlockType Display Name "Display7" Ports [1] Position [770, 45, 860, 75] ShowName off Decimation "1" } Block { BlockType Display Name "Display8" Ports [1] Position [770, 120, 860, 150] ShowName off Decimation "1" } Block { BlockType Display Name "Display9" Ports [1] Position [775, 195, 865, 225] ShowName off Decimation "1" } Block { BlockType DataTypeConversion Name "Gateway Out" Position [210, 70, 250, 110] ShowName off DataType "double" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Gateway Out1" Position [210, 140, 250, 180] ShowName off DataType "double" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Gateway Out11" Position [710, 460, 750, 500] ShowName off DataType "double" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Gateway Out12" Position [710, 380, 750, 420] ShowName off DataType "double" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Gateway Out13" Position [710, 305, 750, 345] ShowName off DataType "double" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Gateway Out14" Position [705, 230, 745, 270] ShowName off DataType "double" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Gateway Out15" Position [700, 140, 740, 180] ShowName off DataType "double" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Gateway Out16" Position [700, 80, 740, 120] ShowName off DataType "double" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Gateway Out2" Position [210, 205, 250, 245] ShowName off DataType "double" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Gateway Out3" Position [215, 285, 255, 325] ShowName off DataType "double" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Gateway Out4" Position [220, 360, 260, 400] ShowName off DataType "double" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Gateway Out5" Position [220, 435, 260, 475] ShowName off DataType "double" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Gateway Out7" Position [220, 650, 260, 690] ShowName off DataType "double" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Gateway Out9" Position [640, 675, 680, 715] ShowName off DataType "double" SaturateOnIntegerOverflow off } Block { BlockType SubSystem Name "Subsystem" Ports [0, 1] Position [25, 35, 140, 75] TreatAsAtomicUnit off MaskPromptString "Stored Integer Value|Signed integer (otherwise " "unsigned integer)|Total Number of Bits|Number of Bits to Right of Binary Poin" "t" MaskStyleString "edit,checkbox,edit,edit" MaskTunableValueString "on,on,on,on" MaskCallbackString "|||" MaskEnableString "on,on,on,on" MaskVisibilityString "on,on,on,on" MaskToolTipString "on,on,on,on" MaskVarAliasString ",,," MaskVariables "storedInt=@1;isSigned=@2;numBits=@3;numFracBits" "=@4;" MaskDisplay "disp(sprintf('User SFunction\\nFixed Point\\nCo" "nstant'))" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "33|on|7|2" System { Name "Subsystem" Location [577, 486, 1075, 786] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType "S-Function" Name "S-Function" Ports [0, 1] Position [145, 95, 205, 125] FunctionName "sfun_user_fxp_const" Parameters "storedInt, isSigned, numBits, numFracBits" } Block { BlockType Outport Name "Out1" Position [360, 103, 390, 117] } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem1" Ports [0, 1] Position [25, 110, 140, 150] TreatAsAtomicUnit off MaskPromptString "Stored Integer Value|Signed integer (otherwise " "unsigned integer)|Total Number of Bits|Number of Bits to Right of Binary Poin" "t" MaskStyleString "edit,checkbox,edit,edit" MaskTunableValueString "on,on,on,on" MaskCallbackString "|||" MaskEnableString "on,on,on,on" MaskVisibilityString "on,on,on,on" MaskToolTipString "on,on,on,on" MaskVarAliasString ",,," MaskVariables "storedInt=@1;isSigned=@2;numBits=@3;numFracBits" "=@4;" MaskDisplay "disp(sprintf('User SFunction\\nFixed Point\\nCo" "nstant'))" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "33|on|12|2" System { Name "Subsystem1" Location [577, 486, 1075, 786] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType "S-Function" Name "S-Function" Ports [0, 1] Position [145, 95, 205, 125] FunctionName "sfun_user_fxp_const" Parameters "storedInt, isSigned, numBits, numFracBits" } Block { BlockType Outport Name "Out1" Position [360, 103, 390, 117] } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem2" Ports [0, 1] Position [30, 170, 145, 210] TreatAsAtomicUnit off MaskPromptString "Stored Integer Value|Signed integer (otherwise " "unsigned integer)|Total Number of Bits|Number of Bits to Right of Binary Poin" "t" MaskStyleString "edit,checkbox,edit,edit" MaskTunableValueString "on,on,on,on" MaskCallbackString "|||" MaskEnableString "on,on,on,on" MaskVisibilityString "on,on,on,on" MaskToolTipString "on,on,on,on" MaskVarAliasString ",,," MaskVariables "storedInt=@1;isSigned=@2;numBits=@3;numFracBits" "=@4;" MaskDisplay "disp(sprintf('User SFunction\\nFixed Point\\nCo" "nstant'))" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "33|on|17|2" System { Name "Subsystem2" Location [577, 486, 1075, 786] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType "S-Function" Name "S-Function" Ports [0, 1] Position [145, 95, 205, 125] FunctionName "sfun_user_fxp_const" Parameters "storedInt, isSigned, numBits, numFracBits" } Block { BlockType Outport Name "Out1" Position [360, 103, 390, 117] } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem3" Ports [0, 1] Position [30, 250, 145, 290] TreatAsAtomicUnit off MaskPromptString "Stored Integer Value|Signed integer (otherwise " "unsigned integer)|Total Number of Bits|Number of Bits to Right of Binary Poin" "t" MaskStyleString "edit,checkbox,edit,edit" MaskTunableValueString "on,on,on,on" MaskCallbackString "|||" MaskEnableString "on,on,on,on" MaskVisibilityString "on,on,on,on" MaskToolTipString "on,on,on,on" MaskVarAliasString ",,," MaskVariables "storedInt=@1;isSigned=@2;numBits=@3;numFracBits" "=@4;" MaskDisplay "disp(sprintf('User SFunction\\nFixed Point\\nCo" "nstant'))" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "33|off|7|2" System { Name "Subsystem3" Location [577, 486, 1075, 786] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType "S-Function" Name "S-Function" Ports [0, 1] Position [145, 95, 205, 125] FunctionName "sfun_user_fxp_const" Parameters "storedInt, isSigned, numBits, numFracBits" } Block { BlockType Outport Name "Out1" Position [360, 103, 390, 117] } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem4" Ports [0, 1] Position [30, 325, 145, 365] TreatAsAtomicUnit off MaskPromptString "Stored Integer Value|Signed integer (otherwise " "unsigned integer)|Total Number of Bits|Number of Bits to Right of Binary Poin" "t" MaskStyleString "edit,checkbox,edit,edit" MaskTunableValueString "on,on,on,on" MaskCallbackString "|||" MaskEnableString "on,on,on,on" MaskVisibilityString "on,on,on,on" MaskToolTipString "on,on,on,on" MaskVarAliasString ",,," MaskVariables "storedInt=@1;isSigned=@2;numBits=@3;numFracBits" "=@4;" MaskDisplay "disp(sprintf('User SFunction\\nFixed Point\\nCo" "nstant'))" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "33|off|12|2" System { Name "Subsystem4" Location [577, 486, 1075, 786] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType "S-Function" Name "S-Function" Ports [0, 1] Position [145, 95, 205, 125] FunctionName "sfun_user_fxp_const" Parameters "storedInt, isSigned, numBits, numFracBits" } Block { BlockType Outport Name "Out1" Position [360, 103, 390, 117] } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem5" Ports [0, 1] Position [30, 395, 145, 435] TreatAsAtomicUnit off MaskPromptString "Stored Integer Value|Signed integer (otherwise " "unsigned integer)|Total Number of Bits|Number of Bits to Right of Binary Poin" "t" MaskStyleString "edit,checkbox,edit,edit" MaskTunableValueString "on,on,on,on" MaskCallbackString "|||" MaskEnableString "on,on,on,on" MaskVisibilityString "on,on,on,on" MaskToolTipString "on,on,on,on" MaskVarAliasString ",,," MaskVariables "storedInt=@1;isSigned=@2;numBits=@3;numFracBits" "=@4;" MaskDisplay "disp(sprintf('User SFunction\\nFixed Point\\nCo" "nstant'))" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "33|off|17|2" System { Name "Subsystem5" Location [577, 486, 1075, 786] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType "S-Function" Name "S-Function" Ports [0, 1] Position [145, 95, 205, 125] FunctionName "sfun_user_fxp_const" Parameters "storedInt, isSigned, numBits, numFracBits" } Block { BlockType Outport Name "Out1" Position [360, 103, 390, 117] } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType Outport Name "Out1" Position [300, 83, 330, 97] ShowName off } Block { BlockType Outport Name "Out2" Position [300, 153, 330, 167] ShowName off Port "2" } Block { BlockType Outport Name "Out3" Position [305, 218, 335, 232] ShowName off Port "3" } Block { BlockType Outport Name "Out4" Position [310, 298, 340, 312] ShowName off Port "4" } Block { BlockType Outport Name "Out5" Position [310, 373, 340, 387] ShowName off Port "5" } Block { BlockType Outport Name "Out6" Position [310, 448, 340, 462] ShowName off Port "6" } Block { BlockType Outport Name "Out8" Position [790, 88, 820, 102] ShowName off Port "7" } Block { BlockType Outport Name "Out9" Position [790, 153, 820, 167] ShowName off Port "8" } Block { BlockType Outport Name "Out10" Position [795, 243, 825, 257] ShowName off Port "9" } Block { BlockType Outport Name "Out11" Position [800, 318, 830, 332] ShowName off Port "10" } Block { BlockType Outport Name "Out12" Position [800, 393, 830, 407] ShowName off Port "11" } Block { BlockType Outport Name "Out13" Position [800, 473, 830, 487] ShowName off Port "12" } Block { BlockType Outport Name "Out15" Position [310, 663, 340, 677] ShowName off Port "13" } Block { BlockType Outport Name "Out16" Position [730, 688, 760, 702] ShowName off Port "14" } Line { SrcBlock "Subsystem" SrcPort 1 Points [0, 0; 35, 0] Branch { DstBlock "Display" DstPort 1 } Branch { Points [0, 35] DstBlock "Gateway Out" DstPort 1 } } Line { SrcBlock "Subsystem1" SrcPort 1 Points [0, 0; 35, 0] Branch { DstBlock "Display1" DstPort 1 } Branch { Points [0, 30] DstBlock "Gateway Out1" DstPort 1 } } Line { SrcBlock "Subsystem2" SrcPort 1 Points [0, 0; 30, 0] Branch { DstBlock "Display2" DstPort 1 } Branch { Points [0, 35] DstBlock "Gateway Out2" DstPort 1 } } Line { SrcBlock "Subsystem3" SrcPort 1 Points [0, 0; 45, 0] Branch { DstBlock "Display3" DstPort 1 } Branch { Points [0, 35] DstBlock "Gateway Out3" DstPort 1 } } Line { SrcBlock "Subsystem4" SrcPort 1 Points [0, 0; 50, 0] Branch { DstBlock "Display4" DstPort 1 } Branch { Points [0, 35] DstBlock "Gateway Out4" DstPort 1 } } Line { SrcBlock "Subsystem5" SrcPort 1 Points [0, 0; 45, 0] Branch { DstBlock "Display5" DstPort 1 } Branch { Points [0, 40] DstBlock "Gateway Out5" DstPort 1 } } Line { SrcBlock "Gateway Out" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "Gateway Out1" SrcPort 1 DstBlock "Out2" DstPort 1 } Line { SrcBlock "Gateway Out2" SrcPort 1 DstBlock "Out3" DstPort 1 } Line { SrcBlock "Gateway Out3" SrcPort 1 DstBlock "Out4" DstPort 1 } Line { SrcBlock "Gateway Out4" SrcPort 1 DstBlock "Out5" DstPort 1 } Line { SrcBlock "Gateway Out5" SrcPort 1 DstBlock "Out6" DstPort 1 } Line { SrcBlock "Data Type Override \nSet to Scaled Doubles\nfor" " this subsystem" SrcPort 1 Points [85, 0] Branch { DstBlock "Display7" DstPort 1 } Branch { Points [0, 40] DstBlock "Gateway Out16" DstPort 1 } } Line { SrcBlock "Data Type Override \nSet to Scaled Doubles\nfor" " this subsystem" SrcPort 2 Points [0, -15; 85, 0] Branch { DstBlock "Display8" DstPort 1 } Branch { Points [0, 25] DstBlock "Gateway Out15" DstPort 1 } } Line { SrcBlock "Data Type Override \nSet to Scaled Doubles\nfor" " this subsystem" SrcPort 3 Points [0, -30; 85, 0] Branch { DstBlock "Display9" DstPort 1 } Branch { Points [0, 40] DstBlock "Gateway Out14" DstPort 1 } } Line { SrcBlock "Data Type Override \nSet to Scaled Doubles\nfor" " this subsystem" SrcPort 4 Points [0, -45; 100, 0] Branch { DstBlock "Display10" DstPort 1 } Branch { Points [0, 40] DstBlock "Gateway Out13" DstPort 1 } } Line { SrcBlock "Data Type Override \nSet to Scaled Doubles\nfor" " this subsystem" SrcPort 5 Points [0, -60; 105, 0] Branch { DstBlock "Display11" DstPort 1 } Branch { Points [0, 40] DstBlock "Gateway Out12" DstPort 1 } } Line { SrcBlock "Data Type Override \nSet to Scaled Doubles\nfor" " this subsystem" SrcPort 6 Points [0, -75; 100, 0] Branch { DstBlock "Display12" DstPort 1 } Branch { Points [0, 45] DstBlock "Gateway Out11" DstPort 1 } } Line { SrcBlock "Gateway Out16" SrcPort 1 Points [0, -5] DstBlock "Out8" DstPort 1 } Line { SrcBlock "Gateway Out15" SrcPort 1 DstBlock "Out9" DstPort 1 } Line { SrcBlock "Gateway Out14" SrcPort 1 DstBlock "Out10" DstPort 1 } Line { SrcBlock "Gateway Out13" SrcPort 1 DstBlock "Out11" DstPort 1 } Line { SrcBlock "Gateway Out12" SrcPort 1 DstBlock "Out12" DstPort 1 } Line { SrcBlock "Gateway Out11" SrcPort 1 DstBlock "Out13" DstPort 1 } Line { SrcBlock "Data Type Override \nSet to True Doubles" SrcPort 1 Points [0, 0; 30, 0] Branch { DstBlock "Display18" DstPort 1 } Branch { Points [0, 30] DstBlock "Gateway Out7" DstPort 1 } } Line { SrcBlock "Gateway Out7" SrcPort 1 DstBlock "Out15" DstPort 1 } Line { SrcBlock "Data Type Override \nSet to True Singles" SrcPort 1 Points [0, 0; 30, 0] Branch { DstBlock "Display14" DstPort 1 } Branch { Points [0, 40] DstBlock "Gateway Out9" DstPort 1 } } Line { SrcBlock "Gateway Out9" SrcPort 1 DstBlock "Out16" DstPort 1 } } }