function  compute_event_enum_values(~,...
                                   ~,...
                                   ~)
%   Copyright 1995-2010 The MathWorks, Inc.

	global gChartInfo %#ok<GVMIS>

	for event = [gChartInfo.chartLocalEvents,gChartInfo.chartInputEvents]
		eventNumber = sf('get',event,'event.number');
		eventUniqueName = sf('CodegenNameOf',event);
		
		enumVal = eventNumber;
		enumStr = ['event_',eventUniqueName];
		sf('set',event,'event.eventEnumStr',enumStr,'event.eventEnumeration',enumVal);
	end
