Using code generated by HDL Coder, you can automatically program FPGA boards within xPC Target Turnkey systems. You can build reconfigurable I/O or execute high-speed algorithms on an FPGA connected to a model running in real time with xPC Target.
You can use Simulink, Stateflow, or MATLAB function blocks to model the algorithm you want to run on the FPGA board. Once you are satisfied with the simulated results, the HDL Coder Workflow Advisor walks you through the process to instantiate your design, generate a bitstream for the selected FPGA, and create an xPC Target interface subsystem for programming and communicating with the FPGA. The interface handles the details of programming the FPGA (requiring no HDL experience), so you can focus on your real-time testing tasks.