www.gusucode.com > rptgen 案例源码程序 matlab代码 > rptgen/population.m

    %% Programmatic Report Formatting
% The DOM API supports, but does not require, use of templates to 
% generate reports. As this example illustrates, you can use the API to
% create scripts that generate and format content without the use of
% templates. The price you pay is a script that is less efficient and
% maintainable than it would have been if it had used templates.
%
% Copyright 2014 MathWorks, Inc.

%% The RPTPOP Function
% The RPTPOP function exemplifies a programmatic approach to 
% formatting a report with DOM objects. This is what the RPTPOP
% function looks like:

type rptpop