gusucode.com > private工具箱matlab源码程序 > private/export_chart_functions.m

    function mustExportChartFunctions = export_chart_functions(chart)

%   Copyright 1995-2011 The MathWorks, Inc.

        rt = sfroot;
        chartObj = rt.idToHandle(chart);
	mustExportChartFunctions = 0;
	if strcmp(class(chartObj), 'Stateflow.Chart') && chartObj.ExportChartFunctions %#ok
		mustExportChartFunctions = 1;
	end