function value = is_ert_multi_instance(modelName) 
    cip = get_param(modelName,'CodeInterfacePackaging');
    if strcmp(cip, 'C++ class') || strcmp(cip,'Reusable function')
        value = 1;
    else
		value = 0;
    end
