Automatic code generation with MATLAB® and Simulink®
The logic in the control program can be verified during simulation even without a controller connected.
Significantly shorter commissioning times lead to a considerable reduction of costs. You can analyze the functionality of the machine, and any changes needed can be made with minimal effort and essentially no cost. If necessary, your sales employees can present the process and visualization to your customers as a graphic demonstration. Simulation can also be a valuable tool to educate new employees, who can practice new techniques without any risk.
(http://www.mathworks.com/)