I am trying to use a USB webcam to communicate with an engineering software; that is MATLAB: Simulink. I am trying to do so with the C S-Function. The C S-Function is a method that uses C programming as well but in a special format.
Pointers can be used to refer to a memory address, get into it and retrieve the data. I have used Device Monitoring Studio and find that the endpoint address of the webcam is 0x82. So i tried to set a pointer with the address and retrieve the data.
However i only get 0 values all the time. Can anyone explain where and what is wrong with my technique?
Thanks in advance.