MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Betriebsanweisung Seite 202

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 986
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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({
Seitenansicht 201
1 2 ... 197 198 199 200 201 202 203 204 205 206 207 ... 985 986

Kommentare zu diesen Handbüchern

Keine Kommentare