Main Content
coder.MATLABCodeTemplate.emitSection
Class: coder.MATLABCodeTemplate
Namespace: coder
Emit comments for template section
Syntax
sectionComments = emitSection(sectionName,isCPPComment)
Description
emits
comments for the code template section that sectionComments
= emitSection(sectionName
,isCPPComment
)sectionName
specifies.
If isCPPComment
is true
, emitSection
uses
C++ style comments. If emitSection
is false
,
it uses C style comments. Use emitSection
to preview
banners before you generate code. Before invoking emitSection
to
emit the banner for a template section, you must set the values for
all tokens used in that section.