Model { Name "tsthammc" Version 4.00 SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off RecordCoverage off CovPath "/" CovSaveName "covdata" CovNameIncrementing off CovHtmlReporting on BlockNameDataTip off BlockParametersDataTip on BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Tue Oct 20 09:14:00 1998" Creator "tdelve" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "ysong" ModifiedDateFormat "%" LastModifiedDate "Wed Aug 23 10:42:42 2000" ModelVersionFormat "1.%" ConfigurationManager "none" SimParamPage "Solver" StartTime "0.0" StopTime "999" SolverMode "SingleTasking" Solver "VariableStepDiscrete" RelTol "1e-3" AbsTol "1e-6" Refine "1" MaxStep "auto" MinStep "auto" MaxNumMinSteps "-1" InitialStep "auto" FixedStep "auto" MaxOrder 5 OutputOption "RefineOutputTimes" OutputTimes "[]" LoadExternalInput off ExternalInput "[t, u]" SaveTime off TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput off OutputSaveName "yout" LoadInitialState off InitialState "xInitial" SaveFinalState off FinalStateName "xFinal" SaveFormat "Array" LimitDataPoints off 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" 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" 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 ExtModeLogAll on OptimizeBlockIOStorage on BufferReuse on ParameterPooling on BlockReductionOpt off 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 "tsthammc" Location [54, 326, 832, 510] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on ReportName "simulink-default.rpt" Block { BlockType Reference Name "Binary vector\nHamming decode" Ports [1, 1] Position [465, 43, 545, 87] ShowName off SourceBlock "comcdham/Binary vector\nHamming decode" SourceType "Vector I/O Hamming decode" n "7" k "gfprimfd(3,'min')" } Block { BlockType Reference Name "Binary vector\nHamming encode" Ports [1, 1] Position [230, 53, 310, 97] ShowName off SourceBlock "comcdham/Binary vector\nHamming encode" SourceType "Vector I/O Hamming encode" n "7" k "gfprimfd(3,'min')" } Block { BlockType Reference Name "Error rate1" Ports [2] Position [680, 18, 760, 62] ShowName off SourceBlock "com_sour/Error rate" SourceType "Symbol/bit error counter" K "4" num_lin "20" TDelay "0" Sample "1" } Block { BlockType Reference Name "Integer scalar\nto vector" Ports [1, 1] Position [130, 53, 210, 97] ShowName off SourceBlock "com_util/Integer scalar\nto vector" SourceType "Decimal to base M vector" len "4" p "2" } Block { BlockType Reference Name "Integer vector\nto scalar" Ports [1, 1] Position [570, 43, 650, 87] ShowName off SourceBlock "com_util/Integer vector\nto scalar" SourceType "Base M vector to decimal integer" p "2" } Block { BlockType Reference Name "Max-err lmtd\nb-err channel" Ports [1, 2] Position [345, 53, 425, 97] ShowName off SourceBlock "com_chan/Max-err lmtd\nb-err channel" SourceType "Limited binary error channel" leng "7" prob "1/2" seed "12345" } Block { BlockType Reference Name "Random-integer\ngenerator1" Ports [0, 1] Position [15, 53, 95, 97] ShowName off SourceBlock "com_sour/Random-integer\ngenerator" SourceType "Random integer generator" mul "16" seed "[12345]" } Block { BlockType Scope Name "Scope" Ports [1] Position [520, 95, 545, 125] ShowName off Floating off Location [376, 122, 808, 330] Open off NumInputPorts "1" TickLabels "off" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "10" YMin "-2" YMax "2" SaveToWorkspace off SaveName "ScopeData" DataFormat "Array" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Sum Name "Sum" Ports [1, 1] Position [455, 100, 475, 120] ShowName off IconShape "rectangular" Inputs "+" SaturateOnIntegerOverflow on } Line { SrcBlock "Integer scalar\nto vector" SrcPort 1 DstBlock "Binary vector\nHamming encode" DstPort 1 } Line { SrcBlock "Binary vector\nHamming decode" SrcPort 1 DstBlock "Integer vector\nto scalar" DstPort 1 } Line { SrcBlock "Max-err lmtd\nb-err channel" SrcPort 1 DstBlock "Binary vector\nHamming decode" DstPort 1 } Line { SrcBlock "Binary vector\nHamming encode" SrcPort 1 DstBlock "Max-err lmtd\nb-err channel" DstPort 1 } Line { SrcBlock "Integer vector\nto scalar" SrcPort 1 Points [0, -15] DstBlock "Error rate1" DstPort 2 } Line { SrcBlock "Random-integer\ngenerator1" SrcPort 1 Points [10, 0] Branch { DstBlock "Integer scalar\nto vector" DstPort 1 } Branch { Points [0, -45] DstBlock "Error rate1" DstPort 1 } } Line { SrcBlock "Max-err lmtd\nb-err channel" SrcPort 2 Points [10, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Scope" DstPort 1 } Annotation { Position [375, 167] Text "Warning: This model is obsolete and may be remo" "ved in the future." FontName "Arial" FontSize 12 } } }