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

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!

カテゴリ

ヘルプ センター および File ExchangeDeployment, Integration, and Supported Hardware についてさらに検索

製品

リリース

R2024b

質問済み:

2025 年 4 月 17 日

回答済み:

2025 年 4 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by