MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Guida Utente Pagina 843

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 986
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 842
mlreportgen.dom.WarningMessage class
12-349
Examples
Create a Warning Message
import mlreportgen.dom.*;
d = Document('test','html');
dispatcher = MessageDispatcher.getTheDispatcher;
l = addlistener(dispatcher,'Message', ...
@(src, evtdata) disp(evtdata.Message.formatAsText));
open(d);
dispatch(dispatcher,WarningMessage('invalid chapter',d));
p = Paragraph('Chapter ');
p.Tag = 'chapter title';
p.Style = {CounterInc('chapter'),...
CounterReset('table'),WhiteSpace('pre')};
append(p,AutoNumber('chapter'));
append(d,p);
close(d);
rptview('test','html');
delete(l);
“Display Report Generation Messages”
See Also
mlreportgen.dom.MessageDispatcher.dispatch
Vedere la pagina 842
1 2 ... 838 839 840 841 842 843 844 845 846 847 848 ... 985 986

Commenti su questo manuale

Nessun commento