User`s guide
Customized Components
7-21
stockQuote = fetch(GOOG, thisComp.Ticker);
stockQuote.Date = datestr(stockQuote.Date,1);
stockQuote.Time = datestr(stockQuote.Time,13);
out = execute(rptgen.cfr_table(...
'Source', stockQuote,...
'numHeaderRows', 0,...
'TableTitle', 'Stock Market Pricing Data'),...
parentDoc);
5
Append the security symbol, goog, to the component name. Enter the following text
into getOutlineString.m.
function olstring=getOutlineString(thisComp)
olstring = [getName(thisComp),' - ',thisComp.Ticker];
The component name now appears as Equity Values — goog.