Model Configuration Parameters: Diagnostics
TheDiagnosticscategory includes parameters for detecting issues related to solvers and solver settings, for example, algebraic loops.
Parameter | Description |
---|---|
如果模型选择诊断操作金宝app®software detects an algebraic loop while compiling the model. |
|
选择诊断行为ion to take if artificial algebraic loop minimization cannot be performed for an atomic subsystem or Model block because an input port has direct feedthrough. |
|
如果模型选择诊断操作金宝appsoftware detects a block priority specification error. |
|
如果模型选择诊断操作金宝appsoftware detects that the next simulation step is smaller than the minimum step size specified for the model. |
|
选择诊断行为ion to take when Simulink software detects that the number of consecutive zero crossings exceeds the specified maximum. |
|
如果模型选择诊断操作金宝appsoftware changes a solver parameter setting. |
|
选择诊断行为ion to take when a discrete signal appears to pass through a Model block to the input of a block with continuous states. |
|
选择诊断行为ion to take when a name is used for more than one state in the model. |
|
Use this check to ensure that the interface checksum is identical to the model checksum before loading the OperatingPoint. |
These configuration parameters are in theAdvanced parameterssection.
Parameter | Description |
---|---|
Specify whether Simulink propagates dimension symbols throughout the model and preserves these symbols in the propagated signal dimensions. |
|
Specify unit systems allowed in the model. |
|
Specify if unit inconsistencies should be reported as warnings. Select the diagnostic action to take when the Simulink software detects unit inconsistencies. |
|
Allow automatic unit conversions in the model. |
|
Specify whether to display a warning if the model contains a conditionally executed subsystem in which a block with a specified initial condition drives an Outport block with an undefined initial condition. |
|
如果模型选择诊断操作金宝appsoftware detects S-functions that have continuous sample times, but do not produce consistent results when executed multiple times. |
|
如果模型选择诊断操作金宝appdetects zero-crossings that are being ignored | |
如果模型选择诊断操作金宝appdetects zero-crossings that are being masked. |
|
选择诊断行为ion to take when saving a model containing disabled library links. |
|
选择诊断行为ion to take when saving a model containing parameterized library links. |
|
Message behavior when the initial state is an array |
|
For referenced models, specify diagnostic action when the configuration parameterMaximum identifier lengthdoes not provide enough character length to make global identifiers unique across models. |
|
Combine output and update methods for code generation and simulation |
When output and update code is in one function, force simulation execution order to be the same as code generation order. For certain modeling patterns, setting this parameter prevents a potential simulation and code generation mismatch. Setting this parameter might cause artificial algebraic loops. |
Behavior when pregenerated library subsystem code is missing | When generating code for a model that contains an instance of a reusable library subsystem with a function interface, specify whether or not to display a warning or an error when the model cannot use pregenerated library code or pregenerated library code is missing. |
When the debug execution mode is enabled, FMU binaries are executed in a separate process. | |
Specify the diagnostic action to take when arithmetic operations are found in variant conditions. |
|
Variant condition mismatch at signal source and destination | Specify the diagnostic action to take when there are variant-related modeling issues that may result in unused Simulink variables in the generated code. |