Is there a way to force Simulink coder to bypass the 80 character line length limit on generated code

4 次查看(过去 30 天)
I am producing auto-generated code using R2013a which wraps lines in the *types.h produced file. Is there a configuration command that will turn this off and let the entire line declaration sit on one line? When I have changed the max length Id for variable names, this has caused the output code to split amongst two or 3 lines, but my preference would be for it to stay on one long line.
  1 个评论
Vidya Viswanathan
Vidya Viswanathan 2016-6-16
As far as I know, there doesn't seem to be an option to modify the length of the line of the generated code. I don't think it is available with the current release as well.
-Vidya

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by