mirror of https://github.com/EspoTek/Labrador.git
8 lines
310 B
Matlab
8 lines
310 B
Matlab
function [OUT] = mex_usb_send_control( RequestType, Request, Value, Index, Length, LDATA)
|
|
|
|
global usb_handle
|
|
if ~length(usb_handle)
|
|
warning('USB Handle not initialised. Initialising!')
|
|
mex_usb_init('03eb', 'a000')
|
|
end
|
|
OUT = USB_CTRL_SEND(usb_handle, RequestType, Request, Value, Index, Length, LDATA); |