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

2 次查看(过去 30 天)
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?

回答(1 个)

Aabha
Aabha 2025-4-21
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!

类别

Help CenterFile Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by