Hi,
I'm generating code for a simulation environment and an embedded target environment. When generating code in an embedded environment, I'm assigning all signals to a custom data class using the code mappings interface to place the definitions in a globally accessable location. When generating code in a simulation environment, I'm using the CAPI interface to access the signals and therefore, do not want the signals generated globally as generating code globally creates issues generating code for a single reference model.
I would really like to define two different shared coder dictionaries and simulink config sets that both have the same storage class titles, but different underlying definitions. Is there a way to do this? The storage class definition seems to be tied with a specific csc definition.