I want to use the typedefs that I defined in my firmware. I see that it is possible to use the Data Type Replacement in the Model configuration. Doing this way I only change the names in the rtwtypes.h. Then, after I changed the names with the ones from the firmware, I need to change manually the includes. I need to include the .h file from my firmware and to remove the rtwtypes.h. Am I right?
Is there any way more clean? A way that doesn't rely on manual modifications after the code generation procedure? Can you give me some hints on where find examples and documentation?