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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 986
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 563
12 Classes – Alphabetical List
12-70
import mlreportgen.dom.*;
d = Document('test','html');
Create a message dispatcher.
dispatcher = MessageDispatcher.getTheDispatcher;
l = addlistener(dispatcher,'Message', ...
@(src, evtdata) disp(evtdata.Message.formatAsText));
Dispatch the message.
open(d);
dispatch(dispatcher,DebugMessage('starting chapter',d));
Add report content.
p = Paragraph('Chapter ');
p.Tag = 'chapter title';
p.Style = { CounterInc('chapter'),...
CounterReset('table'),WhiteSpace('pre') };
append(p, AutoNumber('chapter'));
append(d,p);
Run report and delete the listener.
close(d);
rptview('test','html');
delete(l);
“Display Report Generation Messages”
See Also
mlreportgen.dom.MessageDispatcher.dispatch
Przeglądanie stron 563
1 2 ... 559 560 561 562 563 564 565 566 567 568 569 ... 985 986

Komentarze do niniejszej Instrukcji

Brak uwag