I have a library. This library uses a Simulink.IntEnumType with the getHeaderFile() method defined. So I have this directory lib_foo with lib_foo.mdl and enum_foo.m, and in R2009b all the user needed to use this library was to add the lib_foo directory to their path.
Now I'm getting an error, and the release notes for R2012a say I need to add my enum_foo.h to the Custom Code/Header file model parameter. Which presumably means I need to also provide this .h file to the Simulink user, and they need to add the directory it is in to Custom Code/Include model parameter.
I do not like doing this. How do I avoid it?