Include s-function into a model for compilation with virtual Lab motion

I need to deliver a s-function for a customer. This customer has to include it a compile its model with Virtual Lab motion. Delivering "mexw32" files, "h" files "obj" files "mk" files generated by rtwsfcn compilation seems not to be sufficient (also "c" are needed but can't be delivered due to confidentiality).
What is the procedure to do this compilation ?

1 Comment

If you are only going to use the s-function for simulation, then all you will need is the 'MEXW32' file, as mentioned here:
This way your implementation, i.e., the C file is not exposed to the end-user.
What were the specific reasons for you to think of sharing the related files with end-user?

Answers (0)

This question is closed.

Asked:

on 3 Oct 2014

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!