Main Content
coder.MATLABCodeTemplate.getCurrentTokens
Class: coder.MATLABCodeTemplate
Namespace: coder
Get current tokens
Syntax
currentTokens = getCurrentTokens()
Description
returns
list of current tokens in the MATLABCodeTemplate objectcurrentTokens
= getCurrentTokens()
Output Arguments
Examples
Create a MATLABCodeTemplate object with the default template, then list its tokens.
newObj = coder.MATLABCodeTemplate; % Creates a MATLABCodeTemplate object from the default template newObj.getCurrentTokens() % Returns a list of tokens for the template