# Model Advisor Report for 'Bouclage_L'

◀

## Filter checks

Passed |
Failed |
Warning |
Not Run |

## View

Scroll to top
Show check details

Model Advisor Report - Bouclage_L.slx
Simulink version: 9.2 | Model version: 1.50
System: Bouclage_L | Current run: 18-Apr-2019 12:11:04

Run Summary

Pass | Fail | Warning | Not Run | Total
--- | --- | --- | --- | ---
25 | 0 | 3 | 1 | 29

Upgrade Advisor
All checks hidden.

Check usage of function-call connections

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`.

Check for calls to slDataTypeAndScale()

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

- slRemoveDataTypeAndScale() automatic replacement cases

Passed
No calls to slDataTypeAndScale() require replacement.
_________________________________________________________________________________________

Recommended Replacement Cases
Identify unnecessary calls to slDataTypeAndScale() that the model advisor can automatically replace.
See Also

- slRemoveDataTypeAndScale() automatic replacement cases

Passed
No calls to slDataTypeAndScale() can be automatically replaced.
_________________________________________________________________________________________

Manual Inspection Cases
Identify calls to slDataTypeAndScale() that might be unnecessary.
See Also

- slRemoveDataTypeAndScale() manual inspection cases

Passed
No calls to slDataTypeAndScale() require manual inspection.

Check and update mask to affirm icon drawing commands dependency on mask workspace

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 block upgrade issues

Passed

Identify masked blocks that specify tabs in mask dialog using MaskTabNames parameter

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.

Check model for SB2SL blocks

Check model for SB2SL blocks
Your model does not contain SB2SL blocks.
_________________________________________________________________________________________

Check that the model is saved in SLX format

Check that the model is saved in SLX format.
Passed
Model Bouclage_L is saved in an SLX file: /home/pac/Documents/ensps/2-master-eea/archive/424-Systeme_Non_Lineaires/TP1/bouclage/Bouclage_L.slx

Identify configurable subsystem blocks for converting to variant subsystem blocks

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 Variant Model blocks and convert those to Variant Subsystem containing Model block choices

Identify Variant Model blocks at model level.
Passed
No Variant Model blocks found.

Check and update masked blocks in library to use promoted parameters

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.

Check and update mask image display commands with unnecessary imread() function calls

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 rapid accelerator signal logging

You are not simulating in Rapid Accelerator mode.

Check get_param calls for block CompiledSampleTime

Found no MATLAB files that call get_param('block','CompiledSampleTime').

Check Model History properties

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 Model Info blocks that can interact with external source control tools

Check virtual bus inputs to 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 model for block upgrade issues requiring compile time information

Passed

Check usage of Discrete-Time Integrator blocks

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 usage of Discrete-Time Integrator blocks
- Underspecified initialization detection

Passed

- Bouclage_L

Recommended Action
No issues related to Discrete-Time Integrator blocks were found.This model can be migrated to simplified initialization mode using configuration parameters.
_________________________________________________________________________________________

Check model settings for migration to simplified initialization mode

Check for model level messages
This check finds and reports model level messages for migrating to simplified initialization mode.
See Also

- Check model settings for migration to simplified initialization mode
- Underspecified initialization detection

Warning

- Bouclage_L

Recommended Action

Run the following checks and address any reported issues:
Check usage of Merge blocks
Check usage of Outport blocks
Also, review the warnings reported in the subchecks below and address any that require attention.

_________________________________________________________________________________________

Verify simplified initialization mode setting
In the Configuration Parameters dialog box, ensure that the 'Underspecified initialization detection' parameter is set to 'Simplified'.
See Also

- Verify simplified initialization mode setting

Warning
This model is not using simplified initialization mode.

- Bouclage_L

Recommended Action
Change the Underspecified initialization detection setting for this model to simplified
_________________________________________________________________________________________

Check Delay, Unit Delay and Zero-Order Hold blocks for rate transition

Passed
The model does not contain Delay, Unit Delay or Zero-Order Hold blocks that perform rate transition. Passed

Check model for parameter initialization and tuning issues

The model does not have issues to support parameter tuning. Passed

Check for virtual bus across model reference boundaries

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.
_________________________________________________________________________________________

Check model for custom library blocks that rely on frame status of the signal

No issues found

Check model for S-function upgrade issues

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 Merge blocks

Check usage of Merge blocks
This check finds and reports issues related to merge blocks for migrating to simplified initialization mode.
See Also

- Check usage of Merge blocks
- Underspecified initialization detection

Passed

- Bouclage_L

Recommended Action
No messages related to Merge blocks were found. This model can be migrated to simplified initialization mode using configuration parameters.
_________________________________________________________________________________________

Check for root outports with constant sample time

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 usage of Outport blocks

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

- Check usage of Outport blocks
- Underspecified initialization detection

Passed

- Bouclage_L

Recommended Action
No messages related to outport blocks or conditional subsystems were found. This model can be migrated to simplified initialization mode using configuration parameters
_________________________________________________________________________________________

Check that this model or libary is saved in current version

Failed
This model or library was last saved in R2015a. Resave it in the current version on Simulink.

Analyze model hierarchy and continue upgrade sequence

Not Run