Filter checks

Passed  
Failed  
Warning  
Not Run  
   

Navigation

Upgrade Advisor

View

Scroll to top
Show check details
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  

Run Summary
Pass Fail Warning Not Run Total
   19    12    4    1 36


Upgrade Advisor


  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.


  Identify variant blocks using variant objects with empty conditions

None of the variant blocks in the model or library have variant objects with empty conditions

_________________________________________________________________________________________


  Check model for SB2SL blocks

Check model for SB2SL blocks

Your model does not contain SB2SL blocks.
_________________________________________________________________________________________


  Identify Model Info blocks that can interact with external source control tools


  Check that the model is saved in SLX format

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

Identify Model Variants blocks at model level.

Passed
No Model Variants 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 if all simulation outputs are returned as a single Simulink.SimulationOutput object

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.


  Check model for block upgrade issues

Passed


  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 Aerospace Blockset legacy 3DoF or 6DoF blocks

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

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


  Check and update model to use toolchain approach to build generated code

Passed
Model is configured to use the toolchain approach.


  Check and update embedded target model to use ert.tlc system target file

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 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 virtual bus inputs to blocks

Error occurred during model compile.

Error evaluating parameter 'P' in 'm2/PID Controller'


Undefined function or variable 'P'.


Variable 'P' does not exist.



Error evaluating parameter 'I' in 'm2/PID Controller'


Undefined function or variable 'I'.


Variable 'I' does not exist.



Error evaluating parameter 'D' in 'm2/PID Controller'


Undefined function or variable 'D'.


Variable 'D' does not exist.




  Check model for block upgrade issues requiring compile time information

Error occurred during model compile.


  Check usage of Discrete-Time Integrator blocks

Error occurred during model compile.


  Check model settings for migration to simplified initialization mode

Error occurred during model compile.


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

Error occurred during model compile.


  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

Abnormal exit: Error evaluating parameter 'P' in 'm2/PID Controller'

Undefined function or variable 'P'.

Variable 'P' does not exist.

Error evaluating parameter 'I' in 'm2/PID Controller'

Undefined function or variable 'I'.

Variable 'I' does not exist.

Error evaluating parameter 'D' in 'm2/PID Controller'

Undefined function or variable 'D'.

Variable 'D' does not exist.


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

Error occurred during model compile.


  Check model for S-function upgrade issues

Error occurred during model compile.


  Check and update outdated Simscape Physical Signal blocks

Error occurred during model compile.


  Check usage of Merge blocks

Error occurred during model compile.


  Check for root outports with constant sample time

Error occurred during model compile.


  Check usage of Outport blocks

Error occurred during model compile.


  Check that this model or library is saved in current version

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


  Analyze model hierarchy and continue upgrade sequence

Not Run