Блоки Simulink в DSP System Toolbox та генерация кода C Поддержки

Если у вас есть Simulink® Лицензия Coder™, можно сгенерировать C и Код С++ от определенных блоков Simulink в DSP System Toolbox™. Для примера смотрите, Генерируют код С из Модели Simulink.

Можно просмотреть блоки, которые поддерживаются для генерации кода C/C++ в документации путем фильтрации списка ссылок блоков. Нажмите Blocks прямо ниже синей панели наверху окна Help, затем установите флажок Code Generation C/C++ в нижней части левого столбца под Extended Capability. Блоки перечислены в их соответствующих категориях. Можно использовать оглавление в левом столбце, чтобы перейти между категориями. Обратитесь к разделу Extended Capabilities> C/C++ Code Generation каждой страницы блока для любых указаний и ограничений по применению.

Чтобы получить этот отфильтрованный список для DSP System Toolbox, нажмите Blocks та Поддержка Генерация кода C/C++.

In the image below, there is a blue bar at the top written 'Documentation'. Right below that, on left, there is a contents pane. In the middle of the page, right under the blue bar, there are options that are clickable: 'All', 'Examples', 'Functions', 'Blocks', 'Apps'. In the contents pane, there are products listed. You can choose any product. However, the first product DSP System Toolbox is selected and you can see its categories listed. Below these products, there is list of extended capabilities available. The first capability is C/C++ Code Generation with a check box infront of it. Select this check box. In the clickable options at the top, select 'Blocks'. A list of blocks appears which supports C/C++ code generation. You can see a small triangle next to a block name if there are any C/C++ code generation notes and limitations listed in the respective reference page under Extended Capabilities > C/C++ Code Generation section.

Похожие темы

Для просмотра документации необходимо авторизоваться на сайте