MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Podręcznik Użytkownika Strona 202

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 986
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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({
Przeglądanie stron 201
1 2 ... 197 198 199 200 201 202 203 204 205 206 207 ... 985 986

Komentarze do niniejszej Instrukcji

Brak uwag