Filter checks

Passed  
Failed  
Warning  
Not Run  
   

Navigation

Upgrade Advisor

View

Scroll to top
Show check details
Model Advisor Report - mcsim_vahid.slx
Simulink version: 8.3 Model version: 1.1034
System: mcsim_vahid Current run: 21-Sep.-2015 09:48:57

Run Summary
Pass Fail Warning Not Run Total
   11    0    3    4 18


Upgrade Advisor


  Check model for known block upgrade issues

The Upgrade Advisor has checked blocks for issues in using them with this version of Simulink. See doc('slupdate') for more information.

S-function update status for the Level 2 API (see Writing S-Functions):

  • Passed

Blocks recommended for update, grouped by update reason:

Update reason — The following subsystem output ports specify an initial output value. Since the simulation is not using this InitialOutput parameter, the value is meaningless. To improve the clarity of your design, use set_param to set the initial output to empty []. For more information, type "help set_param" at the MATLAB command line.:

mcsim_vahid/Vessel module/Vessel Controller/Single PID/Controller 2/Nonlinear observer2/Eta_hat

mcsim_vahid/Vessel module/Vessel Controller/Single PID/Controller 2/Nonlinear observer2/Nu_d_hat

mcsim_vahid/Vessel module/Vessel Controller/Single PID/Controller 2/Nonlinear observer2/Nu_hat

mcsim_vahid/Vessel module/Vessel Dynamics/Vessel LF 6DOF/Current load/Current force/rad to [-pi pi] new/-pi<y<pi

mcsim_vahid/Vessel module/Vessel Dynamics/Vessel LF 6DOF/J(Eta)/Rnb_gnc/Rzyx

mcsim_vahid/Vessel module/Vessel Dynamics/Vessel LF 6DOF/J(Eta)/Tnb_gnc/T

mcsim_vahid/Vessel module/Vessel Dynamics/Vessel LF 6DOF/Wavedrift load/Wavedrift force/Wave component loop/rad to [-pi pi] new/-pi<y<pi

mcsim_vahid/Vessel module/Vessel Dynamics/Vessel LF 6DOF/Wind load/Wind force/rad to [-pi pi] new/-pi<y<pi

mcsim_vahid/Vessel module/Vessel Dynamics/Vessel WF 6DOF/Wave component loop/rad to [-pi pi] new/-pi<y<pi


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

Check 'Context-dependent inputs' setting
Verify that the Context-dependent inputs diagnostic is set to Enable all as errors.

Passed
Diagnostics > Connectivity > Context-dependent inputs is set to Enable all as errors.


  Check model for known block upgrade issues requiring compile time information

Not Run


  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 consistency of initialization parameters for Outport and Merge blocks

Not Run


  Check signal logging save format

Check signal logging save format. The signal logging save format 'ModelDataLogs' will be removed in a future release. To take advantage of new functionality, update any models using 'ModelDataLogs' format to use 'Dataset' format. For guidelines about changes that you might need to make to models, callbacks, scripts, or tests, see Migrate from ModelDataLogs to Dataset Format.

Warning
One or more configsets attached to this model use 'ModelDataLogs' format for signal logging and requires updating.

Recommended Action
To take advantage of new functionality, update any models using 'ModelDataLogs' format to use 'Dataset' format.


  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.


  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 and update model to use toolchain approach to build generated code

Passed
Model is configured to use the toolchain approach.


  Check that the model is saved in SLX format

Check that the model is saved in SLX format.

Passed
Model mcsim_vahid is saved in an SLX file: C:\Users\astrbro\Documents\GitHub\MCSim\MCSim\mcsim_vahid.slx


  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.


  Check for Mux blocks used to create bus signals

Not Run


  Check for root outports with constant sample time

Not Run


  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.


  Analyze model hierarchy and continue upgrade sequence

The Upgrade Advisor guides you through the following sequence for upgrading your models:

  1. The Upgrade Advisor opens each model and library in turn, from leaf to root, and selects the non-compile checks. Run the checks, take any advised actions, then click Continue Upgrade Sequence to open the next model and continue.
  2. When you reach the root end of the hierarchy, the Upgrade Advisor then opens each model again in the same order (but not libraries) and selects only the checks that require a model compile (marked with ^). Run the checks, take any advised actions, then click Continue Upgrade Sequence to open the next model. Continue until you reach the end of the hierarchy and this check passes.
If there are no child models, you still need to continue the check sequence until you have run both non-compile and compile checks (marked with ^).

The current results guide you through upgrading your entire hierarchy from leaf to root model, running the Upgrade Advisor on each model in turn. Click here to clear any hierarchy results and run this check on the current model only.

Warning
Child models found. Click "Continue Upgrade Sequence" to run the next checks.


Recommended Action
Click "Continue Upgrade Sequence" to refresh the Upgrade Advisor with compile checks selected (marked with ^).

  • mcsim_vahid (current)
  • MarineGNC (next)
  • ^mcsim_vahid