How can I see a list of blocks supported for code generation?

6 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2024 年 7 月 25 日
回答済み: MathWorks Support Team 2024 年 7 月 25 日

How can I see a list of blocks supported for code generation?

採用された回答

MathWorks Support Team
MathWorks Support Team 2024 年 7 月 25 日
In general, you can check code generation readiness for any Simulink block by referring to the "Extended Capabilities" section in the respective block documentation.

Option 1: HTML list for base Simulink blocks

For base Simulink blocks, there is an HTML page that lists data types and C/C++ code generation support. It can be accessed by running the following MATLAB command:
>> showblockdatatypetable
For more information regarding this command, see: https://www.mathworks.com/help/simulink/slref/showblockdatatypetable.html

Option 2: Use filtered view in our documentation

In order to get lists for blocks from any toolbox and any code generation workflow (C/C++, HDL, GPU, PLC), you can also use the filtering feature in our documentation:
1. Go to the MathWorks Documentation Archive and select your current release.
2. Select a Workflow, Application area, or a specific product from the Product List:
3. If the workflow, application, or toolbox comes with Simulink blocks, you will see a "Blocks" tab at the top. Select it:
4. In the left-side panel, under the "Extended Capabilities" sections, select the Code Generation workflow you are interested in:

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCode Generation についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by