Are .mexw32 files enough to build RTW code?
Show older comments
We have received a plant model from a customer which has used s-function to replace some of original Simulink blocks. We can use the model for PC based simulation (with mexw32 files included). My question is if I can use the s-function to RTW build an executable code for a HIL system (such as Opal-RT or Pi Autosim). I did try it and it seems not working. I think to build an executable code for a HIL system, we may need either original Simulink model or all .c/.h files while generating the s-function. Is my understanding correct? Thanks for answer and suggestions.
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!