Download as pdf or txt
Download as pdf or txt
You are on page 1of 42

SDD_discrete.

slx
Design Description
The MathWorks, Inc.
SDD_discrete.slx

SDD_discrete.slx: Design Description


The MathWorks, Inc.

Publication date 09-Jul-2020 21:55:40


Copyright © 2020
For Internal Distribution Only

2
Table of Contents
1. Model Version ............................................................................................................. 1
2. Root System ................................................................................................................. 2
Description ............................................................................................................. 3
Blocks ..................................................................................................................... 3
Parameters ..................................................................................................... 3
Block Execution Order .................................................................................. 14
3. Subsystems ................................................................................................................ 16
4. System Design Variables ............................................................................................ 17
Design Variable Details ......................................................................................... 17
5. System Model Configuration ..................................................................................... 21

iii
List of Figures
2.1. SDD_discrete ............................................................................................................. 2

iv
List of Tables
2.1. "Filter" Parameters ................................................................................................... 3
2.2. "Integer Delay" Parameters ...................................................................................... 4
2.3. "Integrator" Parameters ........................................................................................... 5
2.4. "Memory" Parameters .............................................................................................. 6
2.5. "Sine Wave" Parameters ........................................................................................... 6
2.6. "Sine Wave1" Parameters ......................................................................................... 7
2.7. "Sine Wave10" Parameters ....................................................................................... 7
2.8. "Sine Wave2" Parameters ......................................................................................... 8
2.9. "Sine Wave3" Parameters ......................................................................................... 8
2.10. "Sine Wave4" Parameters ....................................................................................... 8
2.11. "Sine Wave5" Parameters ....................................................................................... 9
2.12. "Sine Wave6" Parameters ....................................................................................... 9
2.13. "Sine Wave7" Parameters ..................................................................................... 10
2.14. "Sine Wave8" Parameters ..................................................................................... 10
2.15. "Sine Wave9" Parameters ..................................................................................... 11
2.16. "ss" Parameters ..................................................................................................... 11
2.17. "Tapped Delay" Parameters .................................................................................. 11
2.18. "tf" Parameters ..................................................................................................... 12
2.19. "Unit Delay" Parameters ....................................................................................... 13
2.20. "wma" Parameters ................................................................................................ 14
2.21. "ZOH" Parameters ................................................................................................. 14
2.22. "zp" Parameters .................................................................................................... 14
4.1. GainDataType ......................................................................................................... 17
4.2. OutDataType ........................................................................................................... 18
5.1. SDD_discrete Configuration Set .............................................................................. 21
5.2. SDD_discrete Configuration Set.Components(1) ..................................................... 21
5.3. SDD_discrete Configuration Set.Components(2) ..................................................... 22
5.4. SDD_discrete Configuration Set.Components(3) ..................................................... 23
5.5. SDD_discrete Configuration Set.Components(4) ..................................................... 25
5.6. SDD_discrete Configuration Set.Components(5) ..................................................... 27
5.7. SDD_discrete Configuration Set.Components(6) ..................................................... 29
5.8. SDD_discrete Configuration Set.Components(7) ..................................................... 29
5.9. SDD_discrete Configuration Set.Components(8) ..................................................... 30
5.10. SDD_discrete Configuration Set.Components(9) ................................................... 32
5.11. SDD_discrete Configuration Set.Components(8).CodeCoverageSettings ................ 34
5.12. SDD_discrete Configuration Set.Components(8).Components(1) ........................... 34
5.13. SDD_discrete Configuration Set.Components(8).Components(2) ........................... 35

v
Chapter 1. Model Version
Version: 1.58

Last modified: Wed Mar 13 06:35:34 2013

Checksum: 773898865 545387041 2333518784 2730854821

1
Chapter 2. Root System
Table of Contents
Description ..................................................................................................................... 3
Blocks ............................................................................................................................. 3
Parameters ............................................................................................................. 3
Block Execution Order .......................................................................................... 14

Figure 2.1. SDD_discrete

1
1+0.5z-1
Filter

4
Delays

ss

tf

zp wma

K Ts
z-1
ZOH
Integrator

Z-4
Simulink Report Generator (SDD Report) Test Model
SDD_discrete
Integer Delay

This model should contain all blocks in the Discrete library that aren't virtual or made up entirely of other blocks.

Copyright 2009-2011 The MathWorks, Inc.

2
Root System

Description
Simulink Report Generator (SDD Report) Test Model

Blocks
Parameters
"Filter" (DiscreteFilter)
Table 2.1. "Filter" Parameters
Parameter Value
Numerator coeffi- Dialog
cients source
Numerator coeffi- [1]
cients
Denominator coeffi- Dialog
cients source
Denominator coeffi- [1 0.5]
cients
Initial states source Dialog
Initial states 0
Input processing Elements as channels (sample based)
External reset None
Initial states on de- 0
nominator side
Filter structure Direct form II
Sample time (-1 for -1
inherited)
Optimize by skipping off
divide by leading
denominator coeffi-
cient (a0)
Numerator coeffi- []
cient minimum
Numerator coeffi- []
cient maximum
Denominator coeffi- []
cient minimum
Denominator coeffi- []
cient maximum
Output minimum []
Output maximum []

3
Root System

Parameter Value
State data type Inherit: Same as input
Multiplicand data Inherit: Same as input
type
Numerator coeffi- Inherit: Inherit via internal rule
cient data type
Denominator coeffi- Inherit: Inherit via internal rule
cient data type
Numerator product Inherit: Inherit via internal rule
output data type
Denominator prod- Inherit: Inherit via internal rule
uct output data type
Numerator accumu- Inherit: Inherit via internal rule
lator data type
Denominator accu- Inherit: Inherit via internal rule
mulator data type
Output data type Inherit: Inherit via internal rule
Lock data type set- off
tings against changes
by the fixed-point
tools
Integer rounding Floor
mode
Saturate on integer off
overflow
State name must re- off
solve to Simulink sig-
nal object

"Integer Delay" (Delay)


Table 2.2. "Integer Delay" Parameters
Parameter Value
Delay length source Dialog
Delay length 4
Delay upper limit 100
Initial condition Dialog
source
Initial condition 0.0
External reset None
Show enable port off
Prevent direct feed- off
through

4
Root System

Parameter Value
Diagnostic for delay None
length
Remove delay length off
check in generated
code
Input processing Elements as channels (sample based)
Use circular buffer off
for state
Sample time (-1 for -1
inherited)
State name must re- off
solve to Simulink sig-
nal object

"Integrator" (DiscreteIntegrator)
Table 2.3. "Integrator" Parameters
Parameter Value
Integrator method Integration: Forward Euler
Gain value 1.0
External reset none
Initial condition internal
source
Initial condition 0
Initial condition set- Output
ting
Sample time (-1 for -1
inherited)
Output minimum []
Output maximum []
Output data type Inherit: Inherit via internal rule
Lock output data off
type setting against
changes by the fixed-
point tools
Integer rounding Floor
mode
Saturate on integer off
overflow
Limit output off
Upper saturation lim- inf
it

5
Root System

Parameter Value
Lower saturation -inf
limit
Show saturation port off
Show state port off
Ignore limit and reset off
when linearizing
State name must re- off
solve to Simulink sig-
nal object

"Memory" (Memory)

Table 2.4. "Memory" Parameters

Parameter Value
Initial condition 0
Inherit sample time off
Direct feedthrough of off
input during lineari-
zation
Treat as a unit de- off
lay when linearizing
with discrete sample
time
State name must re- off
solve to Simulink sig-
nal object

"Sine Wave" (Sin)

Table 2.5. "Sine Wave" Parameters

Parameter Value
Sine type Time based
Time (t) Use simulation time
Amplitude 1
Bias 0
Frequency (rad/sec) 1
Phase (rad) 0
Samples per period 10
Number of offset 0
samples
Sample time .1

6
Root System

Parameter Value
Interpret vector pa- on
rameters as 1-D

"Sine Wave1" (Sin)


Table 2.6. "Sine Wave1" Parameters
Parameter Value
Sine type Time based
Time (t) Use simulation time
Amplitude 1
Bias 0
Frequency (rad/sec) 1
Phase (rad) 0
Samples per period 10
Number of offset 0
samples
Sample time .1
Interpret vector pa- on
rameters as 1-D

"Sine Wave10" (Sin)


Table 2.7. "Sine Wave10" Parameters
Parameter Value
Sine type Time based
Time (t) Use simulation time
Amplitude 1
Bias 0
Frequency (rad/sec) 1
Phase (rad) 0
Samples per period 10
Number of offset 0
samples
Sample time .1
Interpret vector pa- on
rameters as 1-D

7
Root System

"Sine Wave2" (Sin)

Table 2.8. "Sine Wave2" Parameters


Parameter Value
Sine type Time based
Time (t) Use simulation time
Amplitude 1
Bias 0
Frequency (rad/sec) 1
Phase (rad) 0
Samples per period 10
Number of offset 0
samples
Sample time .1
Interpret vector pa- on
rameters as 1-D

"Sine Wave3" (Sin)

Table 2.9. "Sine Wave3" Parameters


Parameter Value
Sine type Time based
Time (t) Use simulation time
Amplitude 1
Bias 0
Frequency (rad/sec) 1
Phase (rad) 0
Samples per period 10
Number of offset 0
samples
Sample time .1
Interpret vector pa- on
rameters as 1-D

"Sine Wave4" (Sin)

Table 2.10. "Sine Wave4" Parameters


Parameter Value
Sine type Time based
Time (t) Use simulation time

8
Root System

Parameter Value
Amplitude 1
Bias 0
Frequency (rad/sec) 1
Phase (rad) 0
Samples per period 10
Number of offset 0
samples
Sample time .1
Interpret vector pa- on
rameters as 1-D

"Sine Wave5" (Sin)

Table 2.11. "Sine Wave5" Parameters

Parameter Value
Sine type Time based
Time (t) Use simulation time
Amplitude 1
Bias 0
Frequency (rad/sec) 1
Phase (rad) 0
Samples per period 10
Number of offset 0
samples
Sample time .1
Interpret vector pa- on
rameters as 1-D

"Sine Wave6" (Sin)

Table 2.12. "Sine Wave6" Parameters

Parameter Value
Sine type Time based
Time (t) Use simulation time
Amplitude 1
Bias 0
Frequency (rad/sec) 1
Phase (rad) 0
Samples per period 10

9
Root System

Parameter Value
Number of offset 0
samples
Sample time .1
Interpret vector pa- on
rameters as 1-D

"Sine Wave7" (Sin)

Table 2.13. "Sine Wave7" Parameters

Parameter Value
Sine type Time based
Time (t) Use simulation time
Amplitude 1
Bias 0
Frequency (rad/sec) 1
Phase (rad) 0
Samples per period 10
Number of offset 0
samples
Sample time .1
Interpret vector pa- on
rameters as 1-D

"Sine Wave8" (Sin)

Table 2.14. "Sine Wave8" Parameters

Parameter Value
Sine type Time based
Time (t) Use simulation time
Amplitude 1
Bias 0
Frequency (rad/sec) 1
Phase (rad) 0
Samples per period 10
Number of offset 0
samples
Sample time .1
Interpret vector pa- on
rameters as 1-D

10
Root System

"Sine Wave9" (Sin)

Table 2.15. "Sine Wave9" Parameters

Parameter Value
Sine type Time based
Time (t) Use simulation time
Amplitude 1
Bias 0
Frequency (rad/sec) 1
Phase (rad) 0
Samples per period 10
Number of offset 0
samples
Sample time .1
Interpret vector pa- on
rameters as 1-D

"ss" (DiscreteStateSpace)

Table 2.16. "ss" Parameters

Parameter Value
A 0
B 1
C 1
D 0
Initial conditions 0
Sample time (-1 for -1
inherited)
State name must re- off
solve to Simulink sig-
nal object

"Tapped Delay" (S-Function)

Table 2.17. "Tapped Delay" Parameters

Parameter Value
SimulinkmasksIni- 0.0
tialCondition_MP
SimulinkmasksSam- -1
pleTime_MP

11
Root System

Parameter Value
SimulinkmasksNum- 4
berOfDelays_MP
SimulinkmasksOr- Oldest
derOutputVectorStar-
tingWith_MP
SimulinkmasksIn- off
cludeCurrentInputI-
nOutputVector_MP

"tf" (DiscreteTransferFcn)

Table 2.18. "tf" Parameters

Parameter Value
Numerator coeffi- Dialog
cients source
Numerator coeffi- [1]
cients
Denominator coeffi- Dialog
cients source
Denominator coeffi- [1 0.5]
cients
Initial states source Dialog
Initial states 0
Input processing Elements as channels (sample based)
External reset None
Initial states on de- 0
nominator side
Filter structure Direct form II
Sample time (-1 for -1
inherited)
Optimize by skipping off
divide by leading
denominator coeffi-
cient (a0)
Numerator coeffi- []
cient minimum
Numerator coeffi- []
cient maximum
Denominator coeffi- []
cient minimum
Denominator coeffi- []
cient maximum
Output minimum []

12
Root System

Parameter Value
Output maximum []
State data type Inherit: Same as input
Multiplicand data Inherit: Same as input
type
Numerator coeffi- Inherit: Inherit via internal rule
cient data type
Denominator coeffi- Inherit: Inherit via internal rule
cient data type
Numerator product Inherit: Inherit via internal rule
output data type
Denominator prod- Inherit: Inherit via internal rule
uct output data type
Numerator accumu- Inherit: Inherit via internal rule
lator data type
Denominator accu- Inherit: Inherit via internal rule
mulator data type
Output data type Inherit: Inherit via internal rule
Lock data type set- off
tings against changes
by the fixed-point
tools
Integer rounding Floor
mode
Saturate on integer off
overflow
State name must re- off
solve to Simulink sig-
nal object

"Unit Delay" (UnitDelay)


Table 2.19. "Unit Delay" Parameters
Parameter Value
Initial condition 0
Input processing Elements as channels (sample based)
Sample time (-1 for -1
inherited)
State name must re- off
solve to Simulink sig-
nal object

13
Root System

"wma" (S-Function)
Table 2.20. "wma" Parameters
Parameter Value
Weights [.5 .5]
Initial condition 0.0
Sample time -1
Output data type Inherit: Inherit via internal rule
Lock output scaling off
against changes by
the autoscaling tool
Integer rounding Floor
mode
Saturate to max or off
min when overflows
occur
Gain data type Inherit: Inherit via internal rule

"ZOH" (ZeroOrderHold)
Table 2.21. "ZOH" Parameters
Parameter Value
Sample time (-1 for -1
inherited)

"zp" (DiscreteZeroPole)
Table 2.22. "zp" Parameters
Parameter Value
Zeros [1]
Poles [0 0.5]
Gain 1
Sample time (-1 for -1
inherited)
State name must re- off
solve to Simulink sig-
nal object

Block Execution Order


1. Sine Wave [6] (Sin)
2. Filter [3] (DiscreteFilter)
3. Integer Delay [4] (Delay)

14
Root System

4. Sine Wave5 [9] (Sin)


5. Integrator [5] (DiscreteIntegrator)
6. Scope [6] (Scope)
7. Sine Wave4 [8] (Sin)
8. Memory [6] (Memory)
9. Sine Wave6 [9] (Sin)
10. Sine Wave1 [7] (Sin)
11. ss [11] (DiscreteStateSpace)
12. Sine Wave10 [7] (Sin)
13. ZOH [14] (ZeroOrderHold)
14. Sine Wave2 [8] (Sin)
15. tf [12] (DiscreteTransferFcn)
16. Sine Wave3 [8] (Sin)
17. zp [14] (DiscreteZeroPole)
18. Sine Wave7 [10] (Sin)
19. Tapped Delay [11] (S-Function)
20. Sine Wave8 [10] (Sin)
21. Unit Delay [13] (UnitDelay)
22. Sine Wave9 [11] (Sin)
23. wma [14] (S-Function)

15
Chapter 3. Subsystems

16
Chapter 4. System Design Variables

Table of Contents
Design Variable Details ................................................................................................. 17

Design Variable Details


DblOver. 0

Used by Blocks:
• SDD_discrete/wma [14]

Resolved in: mask workspace (SDD_discrete/wma)

DelayOrder. 1

Used by Blocks:
• SDD_discrete/Tapped Delay [11]

Resolved in: mask workspace (SDD_discrete/Tapped Delay)

DoSatur. 0

Used by Blocks:
• SDD_discrete/wma [14]

Resolved in: mask workspace (SDD_discrete/wma)

Table 4.1. GainDataType


Property Value
DataTypeMode Fixed-point: unspecified scaling
Signedness Signed
SignednessBool true
WordLength 16
FixedExponent 0
FractionLength 0
Slope 1
SlopeAdjustmentFactor 1
Bias 0
DataTypeOverride Inherit
IsAlias false

17
System Design Variables

Description
DataScope Auto
HeaderFile

Used by Blocks:
• SDD_discrete/wma [14]

Resolved in: mask workspace (SDD_discrete/wma)

GainDataTypeScalingMode. 2

Used by Blocks:
• SDD_discrete/wma [14]

Resolved in: mask workspace (SDD_discrete/wma)

GainScaling. 9.7656e-04

Used by Blocks:
• SDD_discrete/wma [14]

Resolved in: mask workspace (SDD_discrete/wma)

MatRadixGroup. 5

Used by Blocks:
• SDD_discrete/wma [14]

Resolved in: mask workspace (SDD_discrete/wma)

NumDelays. 4

Used by Blocks:
• SDD_discrete/Tapped Delay [11]

Resolved in: mask workspace (SDD_discrete/Tapped Delay)

Table 4.2. OutDataType


Property Value
DataTypeMode Fixed-point: unspecified scaling
Signedness Signed
SignednessBool true
WordLength 16
FixedExponent 0
FractionLength 0

18
System Design Variables

Slope 1
SlopeAdjustmentFactor 1
Bias 0
DataTypeOverride Inherit
IsAlias false
Description
DataScope Auto
HeaderFile

Used by Blocks:
• SDD_discrete/wma [14]

Resolved in: mask workspace (SDD_discrete/wma)

OutScaling. 9.7656e-04

Used by Blocks:
• SDD_discrete/wma [14]

Resolved in: mask workspace (SDD_discrete/wma)

OutputDataTypeScalingMode. 2

Used by Blocks:
• SDD_discrete/wma [14]

Resolved in: mask workspace (SDD_discrete/wma)

RndMeth. 3

Used by Blocks:
• SDD_discrete/wma [14]

Resolved in: mask workspace (SDD_discrete/wma)

dolog. 0

Used by Blocks:
• SDD_discrete/wma [14]

Resolved in: mask workspace (SDD_discrete/wma)

includeCurrent. 0

Used by Blocks:
• SDD_discrete/Tapped Delay [11]

19
System Design Variables

Resolved in: mask workspace (SDD_discrete/Tapped Delay)

mgainval. [0.5 0.5 ]

Used by Blocks:
• SDD_discrete/wma [14]

Resolved in: mask workspace (SDD_discrete/wma)

samptime. -1

Used by Blocks:
• SDD_discrete/Tapped Delay [11]

Resolved in: mask workspace (SDD_discrete/Tapped Delay)

samptime. -1

Used by Blocks:
• SDD_discrete/wma [14]

Resolved in: mask workspace (SDD_discrete/wma)

vinit. 0

Used by Blocks:
• SDD_discrete/Tapped Delay [11]

Resolved in: mask workspace (SDD_discrete/Tapped Delay)

vinit. 0

Used by Blocks:
• SDD_discrete/wma [14]

Resolved in: mask workspace (SDD_discrete/wma)

20
Chapter 5. System Model
Configuration
Source: Model
Source Name: SDD_discrete

Table 5.1. SDD_discrete Configuration Set


Property Value
Description
Components [SDD_discrete Configuration Set.Compo-
nents(1) [21], SDD_discrete Configura-
tion Set.Components(2) [22], SDD_discrete
Configuration Set.Components(3) [23],
SDD_discrete Configuration Set.Compo-
nents(4) [25], SDD_discrete Configura-
tion Set.Components(5) [27], SDD_discrete
Configuration Set.Components(6) [29],
SDD_discrete Configuration Set.Compo-
nents(7) [29], SDD_discrete Configura-
tion Set.Components(8) [30], SDD_discrete
Configuration Set.Components(9) [32]]
Name Configuration

Table 5.2. SDD_discrete Configuration Set.Components [21](1)


Property Value
Name Solver
Description
Components
StartTime 0.0
StopTime 10
AbsTol auto
AutoScaleAbsTol on
FixedStep 0.1
InitialStep auto
MaxOrder 5
ZcThreshold auto
ConsecutiveZCsStepRelTol 10*128*eps
MaxConsecutiveZCs 1000
ExtrapolationOrder 4
NumberNewtonIterations 1
MaxStep auto

21
System Model Configuration

MinStep auto
MaxConsecutiveMinStep 1
RelTol 1e-3
EnableMultiTasking on
ConcurrentTasks off
SolverName ode45
SolverType Variable-step
SolverJacobianMethodControl auto
ShapePreserveControl DisableAll
ZeroCrossControl UseLocalSettings
ZeroCrossAlgorithm Nonadaptive
SolverResetMethod Fast
PositivePriorityOrder off
AutoInsertRateTranBlk off
SampleTimeConstraint Unconstrained
InsertRTBMode Whenever possible
SampleTimeProperty
DecoupledContinuousIntegration off
MinimalZcImpactIntegration off
ODENIntegrationMethod ode3

Table 5.3. SDD_discrete Configuration Set.Components [21](2)


Property Value
Name Data Import/Export
Description
Components
Decimation 1
ExternalInput [t, u]
FinalStateName xFinal
InitialState xInitial
LimitDataPoints on
MaxDataPoints 1000
LoadExternalInput off
LoadInitialState off
SaveFinalState off
SaveOperatingPoint off
SaveFormat Array
SaveOutput on
SaveState off

22
System Model Configuration

SignalLogging on
DSMLogging on
InspectSignalLogs off
SaveTime on
ReturnWorkspaceOutputs off
StateSaveName xout
TimeSaveName tout
OutputSaveName yout
SignalLoggingName logsout
DSMLoggingName dsmout
OutputOption RefineOutputTimes
OutputTimes []
ReturnWorkspaceOutputsName out
Refine 1
LoggingToFile off
DatasetSignalFormat timeseries
LoggingFileName out.mat
LoggingIntervals [-inf, inf]

Table 5.4. SDD_discrete Configuration Set.Components [21](3)


Property Value
Name Optimization
Description
Components
BlockReduction off
BooleanDataType on
ConditionallyExecuteInputs on
DefaultParameterBehavior Tunable
InlineParams off
UseDivisionForNetSlopeComputation off
GainParamInheritBuiltInType off
UseFloatMulNetSlope off
DefaultUnderspecifiedDataType double
UseSpecifiedMinMax off
InlineInvariantSignals off
OptimizeBlockIOStorage on
BufferReuse on
GlobalBufferReuse on
GlobalVariableUsage None

23
System Model Configuration

StrengthReduction off
AdvancedOptControl
ExpressionFolding on
BooleansAsBitfields off
BitfieldContainerType uint_T
BitwiseOrLogicalOp Same as modeled
EnableMemcpy on
MemcpyThreshold 64
PassReuseOutputArgsAs Structure reference
PassReuseOutputArgsThreshold 12
LocalBlockOutputs on
RollThreshold 5
StateBitsets off
DataBitsets off
ActiveStateOutputEnumStorageType Native Integer
ZeroExternalMemoryAtStartup on
ZeroInternalMemoryAtStartup on
InitFltsAndDblsToZero on
NoFixptDivByZeroProtection off
EfficientFloat2IntCast off
EfficientMapNaN2IntZero on
LifeSpan inf
EvaledLifeSpan Inf
MaxStackSize Inherit from target
BufferReusableBoundary on
SimCompilerOptimization off
AccelVerboseBuild off
OptimizeBlockOrder off
OptimizeDataStoreBuffers on
BusAssignmentInplaceUpdate on
DifferentSizesBufferReuse off
UseRowMajorAlgorithm off
OptimizationLevel level2
OptimizationPriority Balanced
OptimizationCustomize on
LabelGuidedReuse off
MultiThreadedLoops off
DenormalBehavior GradualUnderflow
EfficientTunableParamExpr off

24
System Model Configuration

Table 5.5. SDD_discrete Configuration Set.Components [21](4)

Property Value
Name Diagnostics
Description
Components
RTPrefix error
ConsistencyChecking none
ArrayBoundsChecking none
SignalInfNanChecking none
StringTruncationChecking error
SignalRangeChecking none
ReadBeforeWriteMsg UseLocalSettings
WriteAfterWriteMsg UseLocalSettings
WriteAfterReadMsg UseLocalSettings
AlgebraicLoopMsg warning
ArtificialAlgebraicLoopMsg warning
SaveWithDisabledLinksMsg warning
SaveWithParameterizedLinksMsg none
CheckSSInitialOutputMsg on
UnderspecifiedInitializationDetection Classic
MergeDetectMultiDrivingBlocksExec none
CheckExecutionContextRuntimeOut- off
putMsg
SignalResolutionControl TryResolveAllWithWarning
BlockPriorityViolationMsg warning
MinStepSizeMsg warning
TimeAdjustmentMsg none
MaxConsecutiveZCsMsg error
MaskedZcDiagnostic warning
IgnoredZcDiagnostic warning
SolverPrmCheckMsg none
InheritedTsInSrcMsg warning
MultiTaskDSMMsg warning
MultiTaskCondExecSysMsg none
MultiTaskRateTransMsg error
SingleTaskRateTransMsg none
TasksWithSamePriorityMsg warning
SigSpecEnsureSampleTimeMsg warning
CheckMatrixSingularityMsg none

25
System Model Configuration

IntegerOverflowMsg warning
Int32ToFloatConvMsg warning
ParameterDowncastMsg error
ParameterOverflowMsg error
ParameterUnderflowMsg none
ParameterPrecisionLossMsg warning
ParameterTunabilityLossMsg warning
FixptConstUnderflowMsg none
FixptConstOverflowMsg none
FixptConstPrecisionLossMsg none
UnderSpecifiedDataTypeMsg none
UnnecessaryDatatypeConvMsg none
VectorMatrixConversionMsg none
FcnCallInpInsideContextMsg warning
SignalLabelMismatchMsg none
UnconnectedInputMsg warning
UnconnectedOutputMsg warning
UnconnectedLineMsg warning
UseOnlyExistingSharedCode error
SFcnCompatibilityMsg none
FrameProcessingCompatibilityMsg error
UniqueDataStoreMsg none
BusObjectLabelMismatch warning
RootOutportRequireBusObject warning
AssertControl UseLocalSettings
AllowSymbolicDim on
ModelReferenceIOMsg none
ModelReferenceVersionMismatchMessage none
ModelReferenceIOMismatchMessage none
UnknownTsInhSupMsg warning
ModelReferenceDataLoggingMessage warning
ModelReferenceNoExplicitFinalValueMsg none
ModelReferenceSymbolNameMessage warning
ModelReferenceExtraNoncontSigs error
StateNameClashWarn warning
OperatingPointInterfaceChecksumMis- warning
matchMsg
NonCurrentReleaseOperatingPointMsg error

26
System Model Configuration

PregeneratedLibrarySubsystemCodeDiag- warning
nostic
InitInArrayFormatMsg warning
StrictBusMsg ErrorLevel1
BusNameAdapt WarnAndRepair
NonBusSignalsTreatedAsBus none
SFUnusedDataAndEventsDiag warning
SFUnexpectedBacktrackingDiag warning
SFInvalidInputDataAccessInChartInitDiag warning
SFNoUnconditionalDefaultTransitionDiag warning
SFTransitionOutsideNaturalParentDiag warning
SFUnreachableExecutionPathDiag warning
SFUndirectedBroadcastEventsDiag warning
SFTransitionActionBeforeConditionDiag warning
SFOutputUsedAsStateInMooreChartDiag error
SFTemporalDelaySmallerThanSampleTi- warning
meDiag
SFSelfTransitionDiag warning
SFExecutionAtInitializationDiag none
SFMachineParentedDataDiag warning
IntegerSaturationMsg warning
AllowedUnitSystems all
UnitsInconsistencyMsg warning
AllowAutomaticUnitConversions on
RCSCRenamedMsg warning
RCSCObservableMsg warning
ForceCombineOutputUpdateInSim off
UnderSpecifiedDimensionMsg none
DebugExecutionForFMUViaOutOfProcess off
ArithmeticOperatorsInVariantConditions warning
VariantConditionMismatch none

Table 5.6. SDD_discrete Configuration Set.Components [21](5)


Property Value
Name Hardware Implementation
Description
Components
ProdBitPerChar 8
ProdBitPerShort 16

27
System Model Configuration

ProdBitPerInt 32
ProdBitPerLong 32
ProdBitPerLongLong 64
ProdBitPerFloat 32
ProdBitPerDouble 64
ProdBitPerPointer 32
ProdBitPerSizeT 32
ProdBitPerPtrDiffT 32
ProdLargestAtomicInteger Char
ProdLargestAtomicFloat None
ProdIntDivRoundTo Undefined
ProdEndianess Unspecified
ProdWordSize 32
ProdShiftRightIntArith on
ProdLongLongMode off
ProdHWDeviceType 32-bit Generic
TargetBitPerChar 8
TargetBitPerShort 16
TargetBitPerInt 32
TargetBitPerLong 32
TargetBitPerLongLong 64
TargetBitPerFloat 32
TargetBitPerDouble 64
TargetBitPerPointer 32
TargetBitPerSizeT 32
TargetBitPerPtrDiffT 32
TargetLargestAtomicInteger Char
TargetLargestAtomicFloat None
TargetShiftRightIntArith on
TargetLongLongMode off
TargetIntDivRoundTo Undefined
TargetEndianess Unspecified
TargetWordSize 32
TargetPreprocMaxBitsSint 32
TargetPreprocMaxBitsUint 32
TargetHWDeviceType Specified
TargetUnknown off
ProdEqTarget on
UseEmbeddedCoderFeatures on

28
System Model Configuration

UseSimulinkCoderFeatures on
HardwareBoardFeatureSet EmbeddedCoderHSP

Table 5.7. SDD_discrete Configuration Set.Components [21](6)


Property Value
Name Model Referencing
Description
Components
UpdateModelReferenceTargets IfOutOfDateOrStructuralChange
EnableRefExpFcnMdlSchedulingChecks on
CheckModelReferenceTargetMessage error
EnableParallelModelReferenceBuilds off
ParallelModelReferenceErrorOnInvalid- on
Pool
ParallelModelReferenceMATLABWorkerI- None
nit
ModelReferenceNumInstancesAllowed Multi
PropagateVarSize Infer from blocks in model
ModelDependencies
ModelReferencePassRootInputsByRefer- on
ence
ModelReferenceMinAlgLoopOccurrences off
PropagateSignalLabelsOutOfModel off
SupportModelReferenceSimTargetCustom- off
Code

Table 5.8. SDD_discrete Configuration Set.Components [21](7)


Property Value
Name Simulation Target
Description
Components
SimCustomSourceCode
SimCustomHeaderCode
SimCustomInitializer
SimCustomTerminator
SimReservedNameArray
SimUserSources
SimUserIncludeDirs
SimUserLibraries
SimUserDefines

29
System Model Configuration

SFSimEnableDebug off
SFSimEcho on
SimCtrlC on
SimIntegrity on
SimUseLocalCustomCode off
SimParseCustomCode on
SimAnalyzeCustomCode off
SimGenImportedTypeDefs off
CompileTimeRecursionLimit 50
EnableRuntimeRecursion on
MATLABDynamicMemAlloc on
MATLABDynamicMemAllocThreshold 65536
CustomCodeFunctionArrayLayout
DefaultCustomCodeFunctionArrayLayout NotSpecified
CustomCodeUndefinedFunction UseInterfaceOnly
CustomCodeGlobalsAsFunctionIO off
SimTargetLang C
GPUAcceleration off
SimGPUMallocThreshold 200
SimGPUStackLimitPerThread 1024
SimGPUErrorChecks off
SimGPUCustomComputeCapability
SimGPUCompilerFlags
SimDLTargetLibrary mkl-dnn
SimDLAutoTuning on

Table 5.9. SDD_discrete Configuration Set.Components [21](8)


Property Value
Name Code Generation
Description
SystemTargetFile grt.tlc
HardwareBoard None
ShowCustomHardwareApp off
ShowEmbeddedHardwareApp off
TLCOptions
GenCodeOnly off
MakeCommand make_rtw
GenerateMakefile on
PackageGeneratedCodeAndArtifacts off

30
System Model Configuration

PackageName
TemplateMakefile grt_default_tmf
PostCodeGenCommand
GenerateReport off
RTWVerbose on
RetainRTWFile off
ProfileTLC off
TLCDebug off
TLCCoverage off
TLCAssert off
RTWUseLocalCustomCode off
RTWUseSimCustomCode off
CustomSourceCode
CustomHeaderCode
CustomInclude
CustomSource
CustomLibrary
CustomDefine
CustomBLASCallback
CustomLAPACKCallback
CustomFFTCallback
CustomInitializer
CustomTerminator
Toolchain Automatically locate an installed toolchain
BuildConfiguration Faster Builds
CustomToolchainOptions
IncludeHyperlinkInReport off
LaunchReport off
PortableWordSizes off
GenerateErtSFunction off
CreateSILPILBlock None
CodeExecutionProfiling off
CodeExecutionProfileVariable executionProfile
CodeProfilingSaveOptions SummaryOnly
CodeProfilingInstrumentation off
CodeCoverageSettings SDD_discrete Configuration Set.Compo-
nents(8).CodeCoverageSettings [34]
SILDebugging off
TargetLang C

31
System Model Configuration

GenerateGPUCode None
IncludeERTFirstTime on
GenerateTraceInfo off
GenerateTraceReport off
GenerateTraceReportSl off
GenerateTraceReportSf off
GenerateTraceReportEml off
GenerateWebview off
GenerateCodeMetricsReport off
GenerateCodeReplacementReport off
RTWCompilerOptimization off
ObjectivePriorities
RTWCustomCompilerOptimizations
CheckMdlBeforeBuild Off
GPUKernelNamePrefix
GPUDeviceID -1
GPUMallocMode discrete
GPUMallocThreshold 200
GPUStackLimitPerThread 1024
GPUcuBLAS on
GPUcuSOLVER on
GPUcuFFT on
GPUErrorChecks off
GPUComputeCapability 3.5
GPUCustomComputeCapability
GPUCompilerFlags
DLTargetLibrary none
DLAutoTuning on
DLArmComputeVersion 19.05
DLArmComputeArch unspecified
Components [SDD_discrete Configuration Set.Com-
ponents(8).Components(1) [34],
SDD_discrete Configuration Set.Compo-
nents(8).Components(2) [35]]

Table 5.10. SDD_discrete Configuration Set.Components [21](9)

Property Value
Description Simulink Coverage Configuration Compo-
nent
Components

32
System Model Configuration

Name Simulink Coverage


CovEnable on
CovScope ReferencedModels
CovIncludeTopModel on
RecordCoverage on
CovPath /
CovSaveName covdata
CovCompData
CovMetricSettings r
CovFilter
CovHTMLOptions
CovNameIncrementing off
CovForceBlockReductionOff on
CovEnableCumulative on
CovSaveCumulativeToWorkspaceVar on
CovSaveSingleToWorkspaceVar on
CovCumulativeVarName covCumulativeData
CovCumulativeReport off
CovSaveOutputData on
CovOutputDir slcov_output/$ModelName$
CovDataFileName $ModelName$_cvdata
CovReportOnPause on
CovModelRefEnable off
CovModelRefExcluded
CovExternalEMLEnable off
CovSFcnEnable on
CovBoundaryAbsTol 1.0000e-05
CovBoundaryRelTol 0.0100
CovUseTimeInterval off
CovStartTime 0
CovStopTime 0
CovMetricStructuralLevel BlockExecution
CovMetricLookupTable off
CovMetricSignalRange on
CovMetricSignalSize off
CovMetricObjectiveConstraint off
CovMetricSaturateOnIntegerOverflow off
CovMetricRelationalBoundary off
CovLogicBlockShortCircuit off

33
System Model Configuration

CovUnsupportedBlockWarning off
CovMcdcMode Masking

Table 5.11. SDD_discrete Configuration


Set.Components(8) [30].CodeCoverageSettings
Property Value
TopModelCoverage off
ReferencedModelCoverage off
CoverageTool None

Table 5.12. SDD_discrete Configuration


Set.Components(8).Components [32](1)
Property Value
Name Code Appearance
Description
Components
ForceParamTrailComments off
GenerateComments on
CommentStyle Auto
IgnoreCustomStorageClasses on
IgnoreTestpoints off
MaxIdLength 31
ShowEliminatedStatement off
OperatorAnnotations off
SimulinkDataObjDesc off
SFDataObjDesc off
MATLABFcnDesc off
MangleLength 1
SharedChecksumLength 8
CustomSymbolStrGlobalVar $R$N$M
CustomSymbolStrType $N$R$M_T
CustomSymbolStrField $N$M
CustomSymbolStrFcn $R$N$M$F
CustomSymbolStrFcnArg rt$I$N$M
CustomSymbolStrBlkIO rtb_$N$M
CustomSymbolStrTmpVar $N$M
CustomSymbolStrMacro $R$N$M
CustomSymbolStrUtil $N$C
CustomSymbolStrEmxType emxArray_$M$N

34
System Model Configuration

CustomSymbolStrEmxFcn emx$M$N
CustomUserTokenString
CustomCommentsFcn
DefineNamingRule None
DefineNamingFcn
ParamNamingRule None
ParamNamingFcn
SignalNamingRule None
SignalNamingFcn
InsertBlockDesc off
InsertPolySpaceComments off
SimulinkBlockComments on
BlockCommentType BlockPathComment
StateflowObjectComments on
MATLABSourceComments off
EnableCustomComments off
InternalIdentifier Shortened
InlinedPrmAccess Literals
ReqsInCode off
UseSimReservedNames off
ReservedNameArray
EnumMemberNameClash error

Table 5.13. SDD_discrete Configuration


Set.Components(8).Components [32](2)

Property Value
Name Target
Description
Components
IsERTTarget off
TargetLibSuffix
TargetPreCompLibLocation
TargetLangStandard C89/C90 (ANSI)
CodeReplacementLibrary None
UtilityFuncGeneration Auto
MultiwordTypeDef System defined
MultiwordLength 2048
DynamicStringBufferSize 256
GenerateFullHeader on

35
System Model Configuration

InferredTypesCompatibility off
ExistingSharedCode
GenerateSampleERTMain off
GenerateTestInterfaces off
ModelReferenceCompliant on
ParMdlRefBuildCompliant on
CompOptLevelCompliant on
ConcurrentExecutionCompliant on
IncludeMdlTerminateFcn on
CombineOutputUpdateFcns off
CombineSignalStateStructs off
GroupInternalDataByFunction off
SuppressErrorStatus off
IncludeFileDelimiter Auto
ERTCustomFileBanners off
SupportAbsoluteTime on
LogVarNameModifier rt_
MatFileLogging on
MultiInstanceERTCode off
CodeInterfacePackaging Nonreusable function
PurelyIntegerCode off
SupportNonFinite on
SupportComplex on
SupportContinuousTime on
SupportNonInlinedSFcns on
RemoveDisableFunc off
RemoveResetFunc off
SupportVariableSizeSignals off
ParenthesesLevel Nominal
CastingMode Nominal
ModelStepFunctionPrototypeControlCom- off
pliant
CPPClassGenCompliant on
GRTInterface on
GenerateAllocFcn off
UseToolchainInfoCompliant on
GenerateSharedConstants on
LUTObjectStructOrderExplicitValues Size,Breakpoints,Table
LUTObjectStructOrderEvenSpacing Size,Breakpoints,Table

36
System Model Configuration

ArrayLayout Column-major
UnsupportedSFcnMsg error
ERTHeaderFileRootName $R$E
ERTSourceFileRootName $R$E
ERTDataFileRootName $R_data
ExtMode off
ExtModeStaticAlloc off
ExtModeTesting off
ExtModeStaticAllocSize 1000000
ExtModeTransport 0
ExtModeMexFile ext_comm
ExtModeMexArgs
ExtModeIntrfLevel Level1
RTWCAPISignals off
RTWCAPIParams off
RTWCAPIStates off
RTWCAPIRootIO off
GenerateASAP2 off
MultiInstanceErrorCode Error

37

You might also like