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.
Comments in MATLAB Function Block do not appear in generated code
2 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2019 年 2 月 22 日
回答済み: MathWorks Support Team
2019 年 3 月 26 日
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?
採用された回答
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!