www.gusucode.com > rtwdemos 工具箱matlab源码程序 > rtwdemos/rtwdemoclean.m

    function rtwdemoclean()
% RTWDEMOCLEAN - Clean up after a example, including closing code generation
% reports, open figure windows, etc.
  
% Copyright 1994-2013 The MathWorks, Inc.

close

h = rtw.report.ReportInfo.getBrowserDialog();
if isa(h, 'DAStudio.Dialog')
    h.delete;
end
clear mex