I have already written the VHDL code for my control system using Altera Cyclone V. All that is needed is to connect the Matlab to fine tune the variables and build an equivalent mathematical model for the actual system. So my question is how to build a connection between FPGA and Matlab?