Class: coder.MATLABCodeTemplate
Package: coder
Get value of token
tokenValue = getTokenValue(tokenName)
returns
the value of the specified token.tokenValue
= getTokenValue(tokenName
)
|
Name of token Default: empty |
Create a MATLABCodeTemplate object with the default template, then get the value for a token.
newObj = coder.MATLABCodeTemplate; % Creates a MATLABCodeTemplate object from the default template newObj.getCurrentTokens() % Get list of current tokens newObj.getTokenValue('MATLABCoderVersion') % Check value of a token