Borrar filtros
Borrar filtros

Question about .tlc syntax

2 visualizaciones (últimos 30 días)
Huan
Huan el 6 de Jun. de 2014
Comentada: Huan el 10 de Jun. de 2014
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

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Embedded Coder en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by