Hi,
See the Simulink Compiler product page for more information about the product:
There is an example illustrating this workflow posted in the documentation at the location below:
Hope it helps.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!