|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Model Advisor Report - Control_robot.slx | |
| Simulink version: 23.2 | Model version: 1.154 |
| System: Control_robot | Current run: 10-Apr-2025 18:20:07 |
| Incomplete | Failed | Warning | Justified | Passed | Information | Not Run | Total |
|---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
43 |
Check 'Context-dependent inputs' setting
Verify that the Context-dependent inputs diagnostic is set to error.
Passed
Diagnostics > Connectivity > Context-dependent inputs is set to error.
Recommended Action
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
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.
The block diagram has no problems caused by case sensitivity of model and library names.
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.
None of the variant blocks in the model or library have variantexpression objects with empty conditions
_________________________________________________________________________________________
Identify and upgrade Configurable Subsystem blocks in the model or subsystem level.
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.
Check model for SB2SL blocks
Your model does not contain SB2SL blocks.
_________________________________________________________________________________________
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.
Warning
The following masked blocks need to be updated.
Passed
The model or library is not stored under source control.
Checking for machine-parented data.
Passed
Model does not contain machine-parented data.
Warning
Check failed. LCC is the default compiler for simulation workflows and generated code compilation for the MATLAB host computer. LCC compiler will be removed in a future release. Consider using a different compiler. For information about supported compilers, see https://www.mathworks.com/support/compilers.
Passed
The model does not contain any Environment Controller blocks.
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.
Simulink will use 'daessc' integration method when this model is configured with variable-step 'auto' solver and contains Simscape DAEs.
Passed
_________________________________________________________________________________________
Passed
All Simscape networks use state-based consistency tolerances during initialization
Signal Builder Check
The model does not contain any Signal Builder blocks.
_________________________________________________________________________________________
Virtual bus usage
To make your model more robust, identify virtual bus signals that feed blocks that do not support virtual buses.
These blocks are: Assignment, Delay (only when 'State name' field is specified, and 'Initial condition' is of struct type or a zero scalar from dialog box), Permute Dimensions, Reshape, Selector and Vector Concatenate.
Passed
The model uses virtual bus signals properly.
Check usage of Discrete-Time Integrator blocks
This check finds and reports issues related to Discrete-Time Integrator blocks for migrating to simplified initialization mode
See Also
Check for model level messages
This check finds and reports model level messages for migrating to simplified initialization mode.
See Also
Passed
The model does not contain Delay, Unit Delay or Zero-Order Hold blocks that perform rate transition.
Inport Blocks
Passed
No issues with Inport blocks were found.
_________________________________________________________________________________________
Outport Blocks
Passed
No issues with Outport blocks were found.
_________________________________________________________________________________________
Model Blocks
Passed
No issues with Model blocks were found.
_________________________________________________________________________________________
The system does not have any Data Store Read or Data Store Write blocks.
Passed
The model does not contain outdated Simscape Physical Signal blocks.
Passed
No issues found with event variables
Check usage of Merge blocks
This check finds and reports issues related to merge blocks for migrating to simplified initialization mode.
See Also
Check for root outports with constant sample time
Root outports with constant sample time are not supported when using the AUTOSAR target, function prototype control, or the model C++ class interface.
Passed
The model does not utilize the AUTOSAR target, function prototype control, or the model C++ class interface, so constant root outports are permitted.
Check S-functions in the model, report upgrade issues and improvements.
Passed
There are no user-defined S-functions in the model.
Check usage of Outport blocks
This check finds and reports issues related to Outport blocks and Conditional Subsystems for migrating to simplified initialization mode.
See Also