Model { Name "RD_sim_model" Version 7.2 MdlSubVersion 0 GraphicalInterface { NumRootInports 0 NumRootOutports 0 ParameterArgumentNames "" ComputedModelVersion "1.25" NumModelReferences 0 NumTestPointedSignals 0 } SavedCharacterEncoding "windows-1252" SaveDefaultBlockParams on ScopeRefreshTime 0.035000 OverrideScopeRefreshTime on DisableAllScopes off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" Created "Tue Jun 09 03:20:45 2009" Creator "dragancha" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "dragancha" ModifiedDateFormat "%" LastModifiedDate "Tue Jun 09 14:44:41 2009" RTWModifiedTimeStamp 0 ModelVersionFormat "1.%" ConfigurationManager "None" SampleTimeColors off SampleTimeAnnotations off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ShowTestPointIcons on ShowSignalResolutionIcons on ShowViewerIcons on SortedOrder off ExecutionContextIcon off ShowLinearizationAnnotations on BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off SimulationMode "normal" LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off CovReportOnPause on CovModelRefEnable "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 on ShowModelReferenceBlockVersion off ShowModelReferenceBlockIO off Array { Type "Handle" Dimension 1 Simulink.ConfigSet { $ObjectID 1 Version "1.5.1" Array { Type "Handle" Dimension 9 Simulink.SolverCC { $ObjectID 2 Version "1.5.1" StartTime "0.0" StopTime "0.04" AbsTol "auto" FixedStep "auto" InitialStep "auto" MaxNumMinSteps "-1" MaxOrder 5 ZcThreshold "auto" ConsecutiveZCsStepRelTol "10*128*eps" MaxConsecutiveZCs "1000" ExtrapolationOrder 4 NumberNewtonIterations 1 MaxStep "auto" MinStep "auto" MaxConsecutiveMinStep "1" RelTol "1e-3" SolverMode "Auto" Solver "FixedStepDiscrete" SolverName "FixedStepDiscrete" ShapePreserveControl "DisableAll" ZeroCrossControl "UseLocalSettings" ZeroCrossAlgorithm "Nonadaptive" AlgebraicLoopSolver "TrustRegion" SolverResetMethod "Fast" PositivePriorityOrder off AutoInsertRateTranBlk off SampleTimeConstraint "Unconstrained" InsertRTBMode "Whenever possible" SignalSizeVariationType "Allow only fixed size" } Simulink.DataIOCC { $ObjectID 3 Version "1.5.1" Decimation "1" ExternalInput "[t, u]" FinalStateName "xFinal" InitialState "xInitial" LimitDataPoints on MaxDataPoints "1000" LoadExternalInput off LoadInitialState off SaveFinalState off SaveFormat "Array" SaveOutput on SaveState off SignalLogging on InspectSignalLogs off SaveTime on StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "logsout" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" } Simulink.OptimizationCC { $ObjectID 4 Version "1.5.1" Array { Type "Cell" Dimension 4 Cell "ZeroExternalMemoryAtStartup" Cell "ZeroInternalMemoryAtStartup" Cell "OptimizeModelRefInitCode" Cell "NoFixptDivByZeroProtection" PropName "DisabledProps" } BlockReduction on BooleanDataType on ConditionallyExecuteInputs on InlineParams off InlineInvariantSignals off OptimizeBlockIOStorage on BufferReuse on EnhancedBackFolding off EnforceIntegerDowncast on ExpressionFolding on EnableMemcpy on MemcpyThreshold 64 ExpressionDepthLimit 2147483647 FoldNonRolledExpr on LocalBlockOutputs on RollThreshold 5 SystemCodeInlineAuto off StateBitsets off DataBitsets off UseTempVars off ZeroExternalMemoryAtStartup on ZeroInternalMemoryAtStartup on InitFltsAndDblsToZero off NoFixptDivByZeroProtection off EfficientFloat2IntCast off EfficientMapNaN2IntZero on OptimizeModelRefInitCode off LifeSpan "inf" BufferReusableBoundary on SimCompilerOptimization "Off" AccelVerboseBuild off } Simulink.DebuggingCC { $ObjectID 5 Version "1.5.1" RTPrefix "error" ConsistencyChecking "none" ArrayBoundsChecking "none" SignalInfNanChecking "none" SignalRangeChecking "none" ReadBeforeWriteMsg "UseLocalSettings" WriteAfterWriteMsg "UseLocalSettings" WriteAfterReadMsg "UseLocalSettings" AlgebraicLoopMsg "warning" ArtificialAlgebraicLoopMsg "warning" SaveWithDisabledLinksMsg "warning" SaveWithParameterizedLinksMsg "warning" CheckSSInitialOutputMsg on UnderspecifiedInitializationDetection "Classic" MergeDetectMultiDrivingBlocksExec "none" CheckExecutionContextPreStartOutputMsg off CheckExecutionContextRuntimeOutputMsg off SignalResolutionControl "UseLocalSettings" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" TimeAdjustmentMsg "none" MaxConsecutiveZCsMsg "error" SolverPrmCheckMsg "warning" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskDSMMsg "error" MultiTaskCondExecSysMsg "error" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" TasksWithSamePriorityMsg "warning" SigSpecEnsureSampleTimeMsg "warning" CheckMatrixSingularityMsg "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterUnderflowMsg "none" ParameterPrecisionLossMsg "none" ParameterTunabilityLossMsg "warning" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" FcnCallInpInsideContextMsg "Use local settings" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SFcnCompatibilityMsg "none" UniqueDataStoreMsg "none" BusObjectLabelMismatch "warning" RootOutportRequireBusObject "warning" AssertControl "UseLocalSettings" EnableOverflowDetection off ModelReferenceIOMsg "none" ModelReferenceVersionMismatchMessage "none" ModelReferenceIOMismatchMessage "none" ModelReferenceCSMismatchMessage "none" UnknownTsInhSupMsg "warning" ModelReferenceDataLoggingMessage "warning" ModelReferenceSymbolNameMessage "warning" ModelReferenceExtraNoncontSigs "error" StateNameClashWarn "warning" StrictBusMsg "Warning" LoggingUnavailableSignals "error" BlockIODiagnostic "none" } Simulink.HardwareCC { $ObjectID 6 Version "1.5.1" 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 off ProdEqTarget on } Simulink.ModelReferenceCC { $ObjectID 7 Version "1.5.1" UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" CheckModelReferenceTargetMessage "error" ModelReferenceNumInstancesAllowed "Multi" ModelReferencePassRootInputsByReference on ModelReferenceMinAlgLoopOccurrences off } Simulink.SFSimCC { $ObjectID 8 Version "1.5.1" SFSimEnableDebug on SFSimOverflowDetection on SFSimEcho on SimUseLocalCustomCode off SimBuildMode "sf_incremental_build" } Simulink.RTWCC { $BackupClass "Simulink.RTWCC" $ObjectID 9 Version "1.5.1" Array { Type "Cell" Dimension 6 Cell "IncludeHyperlinkInReport" Cell "GenerateTraceInfo" Cell "GenerateTraceReport" Cell "GenerateTraceReportSl" Cell "GenerateTraceReportSf" Cell "GenerateTraceReportEml" PropName "DisabledProps" } SystemTargetFile "grt.tlc" GenCodeOnly off MakeCommand "make_rtw" GenerateMakefile on 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 RTWUseLocalCustomCode off RTWUseSimCustomCode off IncludeHyperlinkInReport off LaunchReport off TargetLang "C" IncludeBusHierarchyInRTWFileBlockHierarchyMap off IncludeERTFirstTime off GenerateTraceInfo off GenerateTraceReport off GenerateTraceReportSl off GenerateTraceReportSf off GenerateTraceReportEml off GenerateCodeInfo off RTWCompilerOptimization "Off" Array { Type "Handle" Dimension 2 Simulink.CodeAppCC { $ObjectID 10 Version "1.5.1" Array { Type "Cell" Dimension 17 Cell "IgnoreCustomStorageClasses" Cell "IgnoreTestpoints" Cell "InsertBlockDesc" Cell "SFDataObjDesc" Cell "SimulinkDataObjDesc" Cell "DefineNamingRule" Cell "SignalNamingRule" Cell "ParamNamingRule" Cell "InlinedPrmAccess" Cell "CustomSymbolStr" Cell "CustomSymbolStrGlobalVar" Cell "CustomSymbolStrType" Cell "CustomSymbolStrField" Cell "CustomSymbolStrFcn" Cell "CustomSymbolStrBlkIO" Cell "CustomSymbolStrTmpVar" Cell "CustomSymbolStrMacro" PropName "DisabledProps" } ForceParamTrailComments off GenerateComments on IgnoreCustomStorageClasses on IgnoreTestpoints off IncHierarchyInIds off MaxIdLength 31 PreserveName off PreserveNameWithParent off ShowEliminatedStatement off IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off IncDataTypeInIds off MangleLength 1 CustomSymbolStrGlobalVar "$R$N$M" CustomSymbolStrType "$N$R$M" CustomSymbolStrField "$N$M" CustomSymbolStrFcn "$R$N$M$F" CustomSymbolStrBlkIO "rtb_$N$M" CustomSymbolStrTmpVar "$N$M" CustomSymbolStrMacro "$R$N$M" DefineNamingRule "None" ParamNamingRule "None" SignalNamingRule "None" InsertBlockDesc off SimulinkBlockComments on EnableCustomComments off InlinedPrmAccess "Literals" ReqsInCode off UseSimReservedNames off } Simulink.GRTTargetCC { $BackupClass "Simulink.TargetCC" $ObjectID 11 Version "1.5.1" Array { Type "Cell" Dimension 16 Cell "IncludeMdlTerminateFcn" Cell "CombineOutputUpdateFcns" Cell "SuppressErrorStatus" Cell "ERTCustomFileBanners" Cell "GenerateSampleERTMain" Cell "GenerateTestInterfaces" Cell "ModelStepFunctionPrototypeControlCompliant" Cell "CPPClassGenCompliant" Cell "MultiInstanceERTCode" Cell "PurelyIntegerCode" Cell "SupportNonFinite" Cell "SupportComplex" Cell "SupportAbsoluteTime" Cell "SupportContinuousTime" Cell "SupportNonInlinedSFcns" Cell "PortableWordSizes" PropName "DisabledProps" } TargetFcnLib "ansi_tfl_table_tmw.mat" TargetLibSuffix "" TargetPreCompLibLocation "" TargetFunctionLibrary "ANSI_C" UtilityFuncGeneration "Auto" ERTMultiwordTypeDef "System defined" ERTMultiwordLength 256 MultiwordLength 2048 GenerateFullHeader on GenerateSampleERTMain off GenerateTestInterfaces off IsPILTarget off ModelReferenceCompliant on CompOptLevelCompliant on IncludeMdlTerminateFcn on CombineOutputUpdateFcns off SuppressErrorStatus off ERTFirstTimeCompliant off IncludeFileDelimiter "Auto" ERTCustomFileBanners off SupportAbsoluteTime on LogVarNameModifier "rt_" MatFileLogging on MultiInstanceERTCode off SupportNonFinite on SupportComplex on PurelyIntegerCode off SupportContinuousTime on SupportNonInlinedSFcns on EnableShiftOperators on ParenthesesLevel "Nominal" PortableWordSizes off ModelStepFunctionPrototypeControlCompliant off CPPClassGenCompliant off AutosarCompliant off UseMalloc off ExtMode off ExtModeStaticAlloc off ExtModeTesting off ExtModeStaticAllocSize 1000000 ExtModeTransport 0 ExtModeMexFile "ext_comm" ExtModeIntrfLevel "Level1" RTWCAPISignals off RTWCAPIParams off RTWCAPIStates off GenerateASAP2 off } PropName "Components" } } hdlcoderui.hdlcc { $ObjectID 12 Version "1.5.1" Description "HDL Coder custom configuration component" Name "HDL Coder" Array { Type "Cell" Dimension 1 Cell "" PropName "HDLConfigFile" } HDLCActiveTab "0" } PropName "Components" } Name "Configuration" CurrentDlgPage "Diagnostics/Data Validity" ConfigPrmDlgPosition " [ 400, 210, 1280, 840 ] " } PropName "ConfigurationSets" } Simulink.ConfigSet { $PropName "ActiveConfigurationSet" $ObjectID 1 } WSMdlFileData "DataTag0" 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" UseDisplayTextAsClickCallback off } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } BlockParameterDefaults { Block { BlockType DataTypeConversion OutMin "[]" OutMax "[]" OutDataTypeMode "Inherit via back propagation" OutDataType "fixdt(1,16,0)" OutScaling "[]" OutDataTypeStr "Inherit: Inherit via back propagation" LockScale off ConvertRealWorld "Real World Value (RWV)" RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType From IconDisplay "Tag" TagVisibility "local" } Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" ParamMin "[]" ParamMax "[]" ParameterDataTypeMode "Same as input" ParameterDataType "fixdt(1,16,0)" ParameterScalingMode "Best Precision: Matrix-wise" ParameterScaling "[]" ParamDataTypeStr "Inherit: Same as input" OutMin "[]" OutMax "[]" OutDataTypeMode "Same as input" OutDataType "fixdt(1,16,0)" OutScaling "[]" OutDataTypeStr "Inherit: Same as input" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Goto IconDisplay "Tag" } Block { BlockType Inport Port "1" UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" OutMin "[]" OutMax "[]" DataType "auto" OutDataType "fixdt(1,16,0)" OutScaling "[]" OutDataTypeStr "Inherit: auto" LockScale off SignalType "auto" SamplingMode "auto" LatchByDelayingOutsideSignal off LatchByCopyingInsideSignal off Interpolate on } Block { BlockType Mux Inputs "4" DisplayOption "none" UseBusObject off BusObject "BusObject" NonVirtualBus off } Block { BlockType Outport Port "1" UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" OutMin "[]" OutMax "[]" DataType "auto" OutDataType "fixdt(1,16,0)" OutScaling "[]" OutDataTypeStr "Inherit: auto" LockScale off SignalType "auto" SamplingMode "auto" SourceOfInitialOutputValue "Dialog" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Product Inputs "2" Multiplication "Element-wise(.*)" CollapseMode "All dimensions" CollapseDim "1" InputSameDT on OutMin "[]" OutMax "[]" OutDataTypeMode "Same as first input" OutDataType "fixdt(1,16,0)" OutScaling "[]" OutDataTypeStr "Inherit: Same as first input" LockScale off RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Quantizer QuantizationInterval "0.5" LinearizeAsGain on SampleTime "-1" } Block { BlockType Scope 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 "-1" } Block { BlockType Step Time "1" Before "0" After "1" SampleTime "-1" VectorParams1D on ZeroCross on } Block { BlockType SubSystem ShowPortLabels "FromPortIcon" Permissions "ReadWrite" PermitHierarchicalResolution "All" TreatAsAtomicUnit off CheckFcnCallInpInsideContextMsg off SystemSampleTime "-1" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Sum IconShape "rectangular" Inputs "++" CollapseMode "All dimensions" CollapseDim "1" InputSameDT on AccumDataTypeStr "Inherit: Inherit via internal rule" OutMin "[]" OutMax "[]" OutDataTypeMode "Same as first input" OutDataType "fixdt(1,16,0)" OutScaling "[]" OutDataTypeStr "Inherit: Same as first input" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType ToWorkspace VariableName "simulink_output" MaxDataPoints "1000" Decimation "1" SampleTime "0" FixptAsFi off } Block { BlockType Trigonometry Operator "sin" OutputSignalType "auto" SampleTime "-1" } Block { BlockType UnitDelay X0 "0" SampleTime "1" StateMustResolveToSignalObject off RTWStateStorageClass "Auto" } } System { Name "RD_sim_model" Location [243, 82, 1104, 539] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType SubSystem Name "20kHz FIR\nfilter" Ports [1, 1] Position [660, 140, 730, 180] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "20kHz FIR\nfilter" Location [24, 139, 916, 471] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "D" Position [15, 23, 45, 37] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Gain Name "Gain2" Position [75, 14, 115, 46] ShowName off Gain "0.1" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum" Ports [10, 1] Position [660, 27, 670, 258] ShowName off Inputs "++++++++++" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType UnitDelay Name "Unit Delay" Position [175, 12, 200, 48] ShowName off SampleTime "-1" } Block { BlockType UnitDelay Name "Unit Delay1" Position [230, 12, 255, 48] ShowName off SampleTime "-1" } Block { BlockType UnitDelay Name "Unit Delay2" Position [285, 12, 310, 48] ShowName off SampleTime "-1" } Block { BlockType UnitDelay Name "Unit Delay3" Position [340, 12, 365, 48] ShowName off SampleTime "-1" } Block { BlockType UnitDelay Name "Unit Delay4" Position [395, 12, 420, 48] ShowName off SampleTime "-1" } Block { BlockType UnitDelay Name "Unit Delay5" Position [450, 12, 475, 48] ShowName off SampleTime "-1" } Block { BlockType UnitDelay Name "Unit Delay6" Position [505, 12, 530, 48] ShowName off SampleTime "-1" } Block { BlockType UnitDelay Name "Unit Delay7" Position [560, 12, 585, 48] ShowName off SampleTime "-1" } Block { BlockType UnitDelay Name "Unit Delay8" Position [615, 12, 640, 48] ShowName off SampleTime "-1" } Block { BlockType Outport Name "E" Position [705, 138, 735, 152] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Unit Delay" SrcPort 1 Points [5, 0] Branch { Points [0, 200] DstBlock "Sum" DstPort 9 } Branch { DstBlock "Unit Delay1" DstPort 1 } } Line { SrcBlock "Unit Delay2" SrcPort 1 Points [5, 0] Branch { Points [0, 150] DstBlock "Sum" DstPort 7 } Branch { DstBlock "Unit Delay3" DstPort 1 } } Line { SrcBlock "Unit Delay1" SrcPort 1 Points [5, 0] Branch { Points [0, 175] DstBlock "Sum" DstPort 8 } Branch { DstBlock "Unit Delay2" DstPort 1 } } Line { SrcBlock "Unit Delay4" SrcPort 1 Points [5, 0] Branch { Points [0, 100] DstBlock "Sum" DstPort 5 } Branch { DstBlock "Unit Delay5" DstPort 1 } } Line { SrcBlock "Unit Delay6" SrcPort 1 Points [5, 0] Branch { Points [0, 50] DstBlock "Sum" DstPort 3 } Branch { DstBlock "Unit Delay7" DstPort 1 } } Line { SrcBlock "Unit Delay5" SrcPort 1 Points [5, 0] Branch { Points [0, 75] DstBlock "Sum" DstPort 4 } Branch { DstBlock "Unit Delay6" DstPort 1 } } Line { SrcBlock "Unit Delay3" SrcPort 1 Points [5, 0] Branch { Points [0, 125] DstBlock "Sum" DstPort 6 } Branch { DstBlock "Unit Delay4" DstPort 1 } } Line { SrcBlock "Unit Delay8" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Unit Delay7" SrcPort 1 Points [5, 0] Branch { DstBlock "Unit Delay8" DstPort 1 } Branch { Points [0, 25] DstBlock "Sum" DstPort 2 } } Line { SrcBlock "D" SrcPort 1 DstBlock "Gain2" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "E" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [35, 0] Branch { DstBlock "Unit Delay" DstPort 1 } Branch { Points [0, 225] DstBlock "Sum" DstPort 10 } } } } Block { BlockType SubSystem Name "AD konverzija" Ports [2, 2] Position [295, 78, 365, 147] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "AD konverzija" Location [384, 493, 947, 786] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 33, 55, 47] IconDisplay "Port number" } Block { BlockType Inport Name "In2" Position [25, 98, 55, 112] Port "2" IconDisplay "Port number" } Block { BlockType DataTypeConversion Name "Konvertovanje i fixed point broj" Position [235, 23, 310, 57] OutDataTypeMode "Specify via dialog" OutDataType "fixdt(1,bits,bits-2)" OutDataTypeStr "fixdt(1,bits,bits-2)" RndMeth "Floor" } Block { BlockType DataTypeConversion Name "Konvertovanje i fixed point broj1" Position [235, 88, 310, 122] OutDataTypeMode "Specify via dialog" OutDataType "fixdt(1,bits,bits-2)" OutDataTypeStr "fixdt(1,bits,bits-2)" RndMeth "Floor" } Block { BlockType Quantizer Name "Quantizer" Position [110, 25, 140, 55] QuantizationInterval "2^-N" SampleTime "Ts" } Block { BlockType Quantizer Name "Quantizer1" Position [110, 90, 140, 120] QuantizationInterval "2^-N" SampleTime "Ts" } Block { BlockType Outport Name "Usin_d" Position [415, 33, 445, 47] IconDisplay "Port number" } Block { BlockType Outport Name "Ucos_d" Position [415, 98, 445, 112] Port "2" IconDisplay "Port number" } Line { SrcBlock "In1" SrcPort 1 DstBlock "Quantizer" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Quantizer1" DstPort 1 } Line { SrcBlock "Quantizer1" SrcPort 1 DstBlock "Konvertovanje i fixed point broj1" DstPort 1 } Line { SrcBlock "Quantizer" SrcPort 1 DstBlock "Konvertovanje i fixed point broj" DstPort 1 } Line { SrcBlock "Konvertovanje i fixed point broj" SrcPort 1 DstBlock "Usin_d" DstPort 1 } Line { SrcBlock "Konvertovanje i fixed point broj1" SrcPort 1 DstBlock "Ucos_d" DstPort 1 } } } Block { BlockType SubSystem Name "Accumulator" Ports [1, 1] Position [665, 270, 770, 310] Orientation "left" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Accumulator" Location [795, 549, 1155, 714] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "D_Teta" Position [15, 23, 45, 37] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [105, 20, 125, 40] ShowName off IconShape "round" Inputs "|++" InputSameDT off AccumDataTypeStr "Inherit: Same as first input" OutDataType "fixdt(0,12,0)" SaturateOnIntegerOverflow off } Block { BlockType UnitDelay Name "Unit Delay" Position [155, 12, 180, 48] ShowName off SampleTime "-1" } Block { BlockType Outport Name "Teta_Dig" Position [260, 23, 290, 37] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { Labels [0, 0] SrcBlock "D_Teta" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Unit Delay" SrcPort 1 Points [30, 0] Branch { DstBlock "Teta_Dig" DstPort 1 } Branch { Points [0, 70; -100, 0] DstBlock "Sum" DstPort 2 } } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Unit Delay" DstPort 1 } } } Block { BlockType Reference Name "Band-Limited\nWhite Noise" Ports [0, 1] Position [120, 255, 150, 285] SourceBlock "simulink/Sources/Band-Limited\nWhite Noise" SourceType "Band-Limited White Noise." ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" Cov "[0.00000000208]" Ts "Ts" seed "[21341]" VectorParams1D on } Block { BlockType Reference Name "Band-Limited\nWhite Noise1" Ports [0, 1] Position [120, 195, 150, 225] SourceBlock "simulink/Sources/Band-Limited\nWhite Noise" SourceType "Band-Limited White Noise." ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" Cov "[0.00000000111]" Ts "Ts" seed "[12411]" VectorParams1D on } Block { BlockType DataTypeConversion Name "Data Type Conversion" Position [90, 13, 165, 47] OutDataType "sfix(16)" OutScaling "2^0" RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType SubSystem Name "Discrete PI\nController" Ports [1, 1] Position [775, 139, 840, 181] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Discrete PI\nController" Location [488, 406, 986, 605] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "E" Position [15, 93, 45, 107] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Gain Name "Ki" Position [305, 85, 335, 115] Gain "Ki" ParameterDataType "fixdt(0,bits,bits-3)" OutDataTypeMode "Specify via dialog" OutDataType "fixdt(1,bits,bits-5)" OutDataTypeStr "fixdt(1,bits,bits-5)" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Kp" Position [205, 15, 235, 45] Gain "Kp" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "fixdt(0,bits,bits-8)" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Specify via dialog" OutDataType "fixdt(1,bits,bits-5)" OutDataTypeStr "fixdt(1,bits,bits-5)" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [140, 90, 160, 110] ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeMode "Specify via dialog" OutDataType "fixdt(1,bits,bits-4)" OutDataTypeStr "fixdt(1,bits,bits-4)" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [370, 90, 390, 110] ShowName off IconShape "round" Inputs "++|" InputSameDT off AccumDataTypeStr "Inherit: Same as first input" OutDataTypeMode "Specify via dialog" OutDataType "fixdt(1,bits,bits-4)" OutDataTypeStr "fixdt(1,bits,bits-4)" SaturateOnIntegerOverflow off } Block { BlockType UnitDelay Name "Unit Delay" Position [200, 83, 225, 117] ShowName off SampleTime "-1" } Block { BlockType Outport Name "D_Teta" Position [440, 93, 470, 107] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Unit Delay" DstPort 1 } Line { SrcBlock "Unit Delay" SrcPort 1 Points [30, 0] Branch { Points [0, 55; -110, 0] DstBlock "Sum" DstPort 2 } Branch { DstBlock "Ki" DstPort 1 } } Line { SrcBlock "Kp" SrcPort 1 Points [140, 0] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Ki" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { Labels [0, 0] SrcBlock "E" SrcPort 1 Points [55, 0] Branch { DstBlock "Sum" DstPort 1 } Branch { Points [0, -70] DstBlock "Kp" DstPort 1 } } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "D_Teta" DstPort 1 } } } Block { BlockType From Name "From" Position [515, 180, 570, 210] BackgroundColor "[0.501961, 1.000000, 0.501961]" CloseFcn "tagdialog Close" GotoTag "Pobuda" } Block { BlockType From Name "From1" Position [15, 165, 70, 195] BackgroundColor "[0.501961, 1.000000, 0.501961]" CloseFcn "tagdialog Close" GotoTag "Pobuda" } Block { BlockType From Name "From2" Position [555, 410, 610, 440] BackgroundColor "[0.501961, 1.000000, 1.000000]" CloseFcn "tagdialog Close" GotoTag "Teta_m" } Block { BlockType Goto Name "Goto" Position [130, 345, 185, 375] BackgroundColor "[0.501961, 1.000000, 0.501961]" GotoTag "Pobuda" TagVisibility "local" } Block { BlockType Goto Name "Goto1" Position [200, 15, 255, 45] BackgroundColor "[0.501961, 1.000000, 1.000000]" GotoTag "Teta_m" TagVisibility "local" } Block { BlockType SubSystem Name "Look-up\nTables3" Ports [1, 2] Position [440, 261, 525, 314] Orientation "left" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Look-up\nTables3" Location [375, 366, 1153, 855] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "Teta_Dig" Position [25, 38, 55, 52] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType DataTypeConversion Name "Data Type Conversion" Position [195, 28, 270, 62] OutDataTypeMode "single" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "single" RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Data Type Conversion1" Position [195, 98, 270, 132] OutDataTypeMode "single" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "single" RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Data Type Conversion2" Position [435, 28, 510, 62] OutDataTypeMode "Specify via dialog" OutDataType "fixdt(1,bits,bits-2)" OutDataTypeStr "fixdt(1,bits,bits-2)" RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Data Type Conversion3" Position [435, 98, 510, 132] OutDataTypeMode "Specify via dialog" OutDataType "fixdt(1,bits,bits-2)" OutDataTypeStr "fixdt(1,bits,bits-2)" RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType Trigonometry Name "Trigonometric\nFunction" Ports [1, 1] Position [350, 30, 380, 60] } Block { BlockType Trigonometry Name "Trigonometric\nFunction1" Ports [1, 1] Position [350, 100, 380, 130] Operator "cos" } Block { BlockType Outport Name "SIN" Position [610, 38, 640, 52] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "COS" Position [605, 108, 635, 122] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Trigonometric\nFunction1" SrcPort 1 DstBlock "Data Type Conversion3" DstPort 1 } Line { SrcBlock "Trigonometric\nFunction" SrcPort 1 DstBlock "Data Type Conversion2" DstPort 1 } Line { Labels [0, 0] SrcBlock "Teta_Dig" SrcPort 1 Points [65, 0] Branch { DstBlock "Data Type Conversion" DstPort 1 } Branch { Points [0, 70] DstBlock "Data Type Conversion1" DstPort 1 } } Line { SrcBlock "Data Type Conversion" SrcPort 1 DstBlock "Trigonometric\nFunction" DstPort 1 } Line { SrcBlock "Data Type Conversion1" SrcPort 1 DstBlock "Trigonometric\nFunction1" DstPort 1 } Line { SrcBlock "Data Type Conversion2" SrcPort 1 DstBlock "SIN" DstPort 1 } Line { SrcBlock "Data Type Conversion3" SrcPort 1 DstBlock "COS" DstPort 1 } } } Block { BlockType Mux Name "Mux" Ports [2, 1] Position [655, 396, 660, 434] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Reference Name "Pobuda" Ports [0, 1] Position [15, 338, 60, 382] SourceBlock "dspsrcs4/Sine Wave" SourceType "Sine Wave" Amplitude "1" Frequency "fpob" Phase "pi/2" SampleMode "Discrete" OutComplex "Real" CompMethod "Table lookup" TableSize "Speed" SampleTime "Ts" SamplesPerFrame "1" additionalParams off allowOverrides on dataType "Fixed-point" wordLen "bits" udDataType "sfix(16)" fracBitsMode "User-defined" numFracBits "bits-2" ResetState "Restart at time zero" } Block { BlockType Product Name "Product" Ports [2, 1] Position [595, 142, 625, 173] InputSameDT off OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Scope Name "Scope2" Ports [1] Position [710, 399, 740, 431] Floating off Location [32, 194, 677, 656] Open off NumInputPorts "1" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" } TimeRange "0.0008" YMin "0" YMax "1.4" SaveName "ScopeData2" DataFormat "StructureWithTime" LimitDataPoints off SampleTime "0" } Block { BlockType Scope Name "Scope3" Ports [1] Position [570, 44, 600, 76] Floating off Location [7, 99, 652, 561] Open off NumInputPorts "1" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" } TimeRange "0.0008" YMin "0" YMax "1.4" SaveName "ScopeData1" DataFormat "StructureWithTime" LimitDataPoints off SampleTime "0" } Block { BlockType Step Name "Step" Position [15, 80, 45, 110] Time "0" SampleTime "0" } Block { BlockType SubSystem Name "Subsystem" Ports [4, 1] Position [435, 75, 500, 220] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem" Location [850, 554, 1363, 889] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "Usin_d" Position [45, 18, 75, 32] IconDisplay "Port number" } Block { BlockType Inport Name "Ucos_d" Position [50, 158, 80, 172] Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "COS" Position [45, 73, 75, 87] Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "SIN" Position [50, 213, 80, 227] Port "4" IconDisplay "Port number" } Block { BlockType Product Name "Product" Ports [2, 1] Position [135, 57, 165, 88] InputSameDT off OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product1" Ports [2, 1] Position [140, 157, 170, 188] InputSameDT off OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [220, 115, 240, 135] ShowName off IconShape "round" Inputs "+|-" InputSameDT off OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Outport Name "R" Position [340, 118, 370, 132] IconDisplay "Port number" } Line { SrcBlock "Sum" SrcPort 1 DstBlock "R" DstPort 1 } Line { SrcBlock "Usin_d" SrcPort 1 Points [40, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "COS" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Ucos_d" SrcPort 1 DstBlock "Product1" DstPort 1 } Line { SrcBlock "SIN" SrcPort 1 Points [25, 0; 0, -40] DstBlock "Product1" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 Points [60, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 Points [55, 0] DstBlock "Sum" DstPort 2 } } } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [245, 85, 265, 105] ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataType "fixdt(0,Nl,0)" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [190, 120, 210, 140] ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataType "fixdt(0,Nl,0)" SaturateOnIntegerOverflow off } Block { BlockType ToWorkspace Name "To Workspace" Position [680, 350, 740, 380] VariableName "Teta_D" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType SubSystem Name "generisanje\nrezolverskih \nsignala" Ports [2, 2] Position [100, 77, 170, 148] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "generisanje\nrezolverskih \nsignala" Location [998, 239, 1504, 527] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "teta_meh" Position [25, 178, 55, 192] IconDisplay "Port number" } Block { BlockType Inport Name "pobuda" Position [25, 58, 55, 72] Port "2" IconDisplay "Port number" } Block { BlockType Product Name "Product" Ports [2, 1] Position [235, 127, 265, 158] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product1" Ports [2, 1] Position [235, 217, 265, 248] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Trigonometry Name "Trigonometric\nFunction" Ports [1, 1] Position [135, 135, 165, 165] } Block { BlockType Trigonometry Name "Trigonometric\nFunction1" Ports [1, 1] Position [135, 210, 165, 240] Operator "cos" } Block { BlockType Outport Name "SIN" Position [410, 138, 440, 152] IconDisplay "Port number" } Block { BlockType Outport Name "COS" Position [410, 228, 440, 242] Port "2" IconDisplay "Port number" } Line { SrcBlock "pobuda" SrcPort 1 Points [145, 0; 0, 70] Branch { DstBlock "Product" DstPort 1 } Branch { Points [0, 105] DstBlock "Product1" DstPort 2 } } Line { SrcBlock "Trigonometric\nFunction" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Trigonometric\nFunction1" SrcPort 1 DstBlock "Product1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "SIN" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 DstBlock "COS" DstPort 1 } Line { SrcBlock "teta_meh" SrcPort 1 Points [30, 0] Branch { Points [0, -35] DstBlock "Trigonometric\nFunction" DstPort 1 } Branch { Points [0, 40] DstBlock "Trigonometric\nFunction1" DstPort 1 } } } } Line { SrcBlock "Pobuda" SrcPort 1 DstBlock "Goto" DstPort 1 } Line { SrcBlock "Subsystem" SrcPort 1 Points [30, 0] Branch { DstBlock "Product" DstPort 1 } Branch { Points [0, -90] DstBlock "Scope3" DstPort 1 } } Line { SrcBlock "From" SrcPort 1 Points [0, -30] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "20kHz FIR\nfilter" DstPort 1 } Line { SrcBlock "20kHz FIR\nfilter" SrcPort 1 DstBlock "Discrete PI\nController" DstPort 1 } Line { SrcBlock "Discrete PI\nController" SrcPort 1 Points [15, 0; 0, 130] DstBlock "Accumulator" DstPort 1 } Line { SrcBlock "Accumulator" SrcPort 1 Points [-80, 0] Branch { DstBlock "Look-up\nTables3" DstPort 1 } Branch { Points [0, 75] Branch { Points [0, 40] DstBlock "Mux" DstPort 1 } Branch { DstBlock "To Workspace" DstPort 1 } } } Line { SrcBlock "Look-up\nTables3" SrcPort 1 Points [-25, 0; 0, -75] DstBlock "Subsystem" DstPort 4 } Line { SrcBlock "Look-up\nTables3" SrcPort 2 Points [-45, 0; 0, -135] DstBlock "Subsystem" DstPort 3 } Line { SrcBlock "AD konverzija" SrcPort 1 DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "AD konverzija" SrcPort 2 DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "AD konverzija" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "AD konverzija" DstPort 2 } Line { SrcBlock "generisanje\nrezolverskih \nsignala" SrcPort 2 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "generisanje\nrezolverskih \nsignala" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "From1" SrcPort 1 Points [5, 0; 0, -50] DstBlock "generisanje\nrezolverskih \nsignala" DstPort 2 } Line { SrcBlock "Step" SrcPort 1 Points [20, 0] Branch { DstBlock "generisanje\nrezolverskih \nsignala" DstPort 1 } Branch { Points [0, -65] DstBlock "Data Type Conversion" DstPort 1 } } Line { SrcBlock "From2" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Scope2" DstPort 1 } Line { SrcBlock "Data Type Conversion" SrcPort 1 DstBlock "Goto1" DstPort 1 } Line { SrcBlock "Band-Limited\nWhite Noise1" SrcPort 1 Points [45, 0; 0, -55] } Line { SrcBlock "Band-Limited\nWhite Noise" SrcPort 1 Points [100, 0; 0, -120] } } } MatData { NumRecords 1 DataRecord { Tag DataTag0 Data " %)30 . & , 8 ( @ % \" $ & 0 % 0 !@ $ , 3F%M90" " 5F%L=64 X P !@ @ $ 4 ( 0 ( ! ! @!4