Code Advisor: Check signal interfaces Check ID: mathworks.​codegen.cg​sl_0402

2 views (last 30 days)
Hi all,
I'm trying to figure out why I don't have the option in Model Advisor (I'm following the Deploy Export-Function Component Configured for C Service Interface Code Generation documentation) to select the following checks:
  • Check modeling style for component deployment
  • Check signal interfaces
  • Check configuration for component deployment
I'm working with Matlab Example (ComponentDeploymentFcn model).
Are there any specific add-ons that I need to install, or any configuration changes I need to make?

Answers (1)

Aabha
Aabha on 21 Apr 2025
The ‘Model Advisor only displays the checks for your installed products. In this case, all the checks mentioned above are part of ‘Embedded Coder’ as mentioned in the documentation below:
The issue in this case might be that ‘Embedded Coder’ has not been installed on your system, or a license key is not available. You can run the following command in the ‘MATLAB command Window’:
ver
to check if the required product has been installed. If not, please install ‘Embedded Coder. Also, make sure that you have a license key available for this product, otherwise, the respective checks will be skipped. After the installation, run the following command in the ‘MATLAB Command Window’:
Advisor.Manager.refresh_customizations
to ensure the additional checks are updated in the ‘Model Advisor’ as per the newly installed products.
I hope this helps!

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Products


Release

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!