www.gusucode.com > simulinkcoder 案例源码程序 matlab代码 > simulinkcoder/DocumentGeneratedCodeExample.m

    %% Document Generated Code
% This example shows how to use the Simulink(R) Report Generator with
% Simulink(R) Coder(TM) to automatically generate documentation for a model and
% its generated code.
%%
model='rtwdemo_codegenrpt';
open_system(model)
%%

% Cleanup
rtwdemoclean;
close_system(model,0)
%   Copyright 2007-2015 The MathWorks, Inc.