I have a Simulink model with an S-Function Builder block in it. The S-Function Builder block defines a custom Outputs function and includes 2 extra C files which implement necessary functionality. I can successfully build the code for the Simulink Real-Time target, and it gets deployed on the Simulink Real-Time PC. However, after deployment, I see the following message in red in the bottom-right corner of the Real-Time PC screen:
To run the generated code outside the MATLAB environment, use the packNGo function.
I can build a .zip-file with the packNGo function, however I have no idea what to do with it and how to deploy it on the Real-Time PC.
How can I run a model with some custom C code on a Simulink Real-Time PC?
The build log and the project files are attached.