Question about .tlc syntax

2 次查看(过去 30 天)
Hello,
When I looked into some .tlc example files, I saw some command end up with a backslash for example: %<LibCallModelTerminate()>\ while some of them do not. For example: %<SLibDumpFunctionBanner(fcnRec)>
Is anyone know what does the backslash do here? When I do code genaration, I did not see any difference with or without "\".
Thanks

采纳的回答

Kaustubha Govind
Kaustubha Govind 2014-6-9
Not very sure, but the TLC reference documentation on Line Continuation provides a clue:
Use \ to suppress line feeds to the output.
  1 个评论
Huan
Huan 2014-6-10
Thanks, Kaustubha. I guess "\" here is nothing but line continuation, although sometimes it is trival using "\" at the end of a line.

请先登录,再进行评论。

更多回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by