I have generated a control module in Simulink using Embedded Coder, which resulted in a .cpp file and a .h file. I would like to import this module into the NS3 environment and be able to call functions from the module within my NS3 script. Could you please explain the steps required to properly integrate these files into NS3, including any necessary modifications to configuration files to ensure the .cpp and .h files are compiled and linked correctly?
Thank you in advance for your assistance!