MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Guida Utente Pagina 202

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 986
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 201
7 Create Custom Components
7-22
6
Modify the getdialogschema.m file to change the appearance of the Properties
pane. Enter the following text into this file to display the last quoted price for the
security in the Properties pane.
function dlgStruct = getdialogschema(thisComp, name)
try
currQuote = fetch(yahoo, thisComp.Ticker);
quoteStr = sprintf('Last value: %g', currQuote.Last);
catch
quoteStr = sprintf('Warning: ...
"%s" is not a valid symbol.', thisComp.Ticker);
end
dlgStruct = thisComp.dlgMain(name,...
thisComp.dlgContainer({
Vedere la pagina 201
1 2 ... 197 198 199 200 201 202 203 204 205 206 207 ... 985 986

Commenti su questo manuale

Nessun commento