There is a couple of doubts I would like to talk about. I have a Cypress EZ-USB FX2 Microcontroller on an Avnet board (FPGA), and have already set up the USB communication protocol between the onboard microcontroller and the Cypress drivers on the PC.
Now I would like to send and receive data directly from a MATLAB environment I've created for the final purpose of the FPGA. How can I implement the protocol into MATLAB? Is there a way to "embed" an existing implementation and just call its functions from within MATLAB itself?