Comments in MATLAB Function Block do not appear in generated code

조회 수: 1 (최근 30일)
I am generating code for a MATLAB Function Block using Embedded Coder in 2018b. How do I include comments from the MATLAB Function in generated code?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2019년 2월 22일

In order to include user comments in generated code, please enable the "MATLAB user comments" option under Configuration Parameters > Code Generation > Comments. Additionally, if you want to include the MATLAB code as comments, please enable the "MATLAB source code as comments" option.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by