|
|
|
|
|
|
|
|
Model Advisor Report - m2.mdl | |
Simulink version: 9.3 | Model version: 1.3 |
System: m2 | Current run: 13-Dec-2019 17:46:50 |
Treat as Referenced Model: off |
Pass | Fail | Warning | Not Run | Total |
---|---|---|---|---|
|
|
|
|
36 |
Check 'Invalid function-call connection' setting
Verify that the Invalid function-call connection diagnostic is set to error.
Passed
Diagnostics > Connectivity > Invalid function-call connection is set to error.
Recommended Action
_________________________________________________________________________________________
Check 'Context-dependent inputs' setting
Verify that the Context-dependent inputs diagnostic is set to error.
Warning
Diagnostics > Connectivity > Context-dependent inputs is set to warning. This might lead to non-deterministic model execution.
Recommended Action
Set Diagnostics > Connectivity > Context-dependent inputs to error.
Search for blocks that have data type parameters specified by using slDataTypeAndScale().
Required Replacement Cases
Identify calls to slDataTypeAndScale() that are no longer supported and thus should be replaced. Such calls always can be automatically replaced.
See Also
Recommended Replacement Cases
Identify unnecessary calls to slDataTypeAndScale() that the model advisor can automatically replace.
See Also
Manual Inspection Cases
Identify calls to slDataTypeAndScale() that might be unnecessary.
See Also
None of the variant blocks in the model or library have variant objects with empty conditions
_________________________________________________________________________________________
Check model for SB2SL blocks
Your model does not contain SB2SL blocks.
_________________________________________________________________________________________
Check that the model is saved in SLX format.
Warning
Model m2 is saved in an MDL file: C:\Users\KIS-OS\OneDrive\saszasokolov\Nauka\LR\programOS\Control\m2.mdl
Recommended Action
Save model m2 in a file with extension ".slx". The button below will save it in file:
C:\Users\KIS-OS\OneDrive\saszasokolov\Nauka\LR\programOS\Control\m2.slx.
To choose a different name or location, use the "Save As..." menu item in the Simulink Editor.
Check models for edited Model History property values
Check that parameters in the Model Properties dialog History pane use the default tags. In the MDL file format you can configure some model properties to make use of source control tool keyword substitution. If you save your model in SLX format, source control tools cannot perform keyword substitution. Any information in the model file from such keyword substitution is cached when you first save the MDL file as SLX, and is never updated again. The Model Properties History pane and any Model Info blocks in your model show stale information from then on.
Passed
This model uses the default value for property ModifiedByFormat.
Passed
This model uses the default value for property ModifiedDateFormat.
Passed
This model uses the default value for property ModelVersionFormat.
Identify configurable subsystem blocks at the model or subsystem level. You can convert these blocks to variant subsystems.
Passed
No configurable subsystem blocks found.
Identify Model Variants blocks at model level.
Passed
No Model Variants blocks found.
Searches libraries created before R2011b for masked blocks that should be updated to use promoted parameters. Since R2011b, if a block parameter is not promoted, its value in the linked block is locked to its value in the library block. This check excludes blocks of type Subsystem, Model reference, S-Function and M-S-Function.
Passed
This check only applies to libraries created before R2011b.
Identify masks using an image display commands with unnecessary calls to imread(). Since 2013a, a performance and memory optimization is available for mask images specified via image path instead of RGB triple matrix.
Passed
No masked block found with unnecessary imread() calls in image display commands.
Failed
Simulation outputs are not returned as a single Simulink.SimulationOutput object. Enable the parameter ReturnWorkspaceOutputs in order to return all simulation outputs as a single Simulink.SimulationOutput object.
Sets 'RunInitForIconRedraw' to 'on' if mask icon drawing commands have mask workspace dependency otherwise sets it to 'off'. Setting 'RunInitForIconRedraw' to 'off' optimizes the performance by not running the mask initialization code before drawing the block icon.
Passed
No masked block found to set 'RunInitForIconRedraw'.
Check model for Aerospace Blockset legacy 3DoF or 6DoF blocks
Your model does not contain legacy 3DoF or 6DoF blocks.
_________________________________________________________________________________________
Check model for Aerospace Blockset navigation blocks
Your model does not contain Three-Axis Inertial Measurement Unit, Three-Axis Gyroscope, or Three-Axis Accelerometer blocks prior to 3.21 (R2018a).
_________________________________________________________________________________________
Passed
Model is configured to use the toolchain approach.
Check and update embedded target model to use ert.tlc system target file. Only the models whose system target file is set to idelink_ert.tlc, idelink_grt.tlc, or realtime.tlc and whose board matches one of the supported hardware boards can be updated. If the model can be updated, the model parameters will be converted to support use of ert.tlc system target file.
Passed
No update required: the model is either not configured to use an embedded target or is using the latest version of the target.
Identify masked blocks that use the MaskTabNames parameter to programmatically create tabs in the mask dialog. Since R2013b, dialog controls are used to group parameters in a tab on the mask dialog.
Passed
No masked block found that uses MaskTabNames to create tabs in the mask dialog.