For our experimental setups, we have been using USB relay modules from Numato and use LabView to send the commands. It works fine. I would like to implement it in Matlab for my project. While I can connect to the device, writing the command 'relay on 1', to activate the first relay, does not work.
obj = serial('COM8');
fprintf(obj,'relay on 1');
The code works but nothing happens. I wonder if I need to create a VISA for this, as in LabView the functions used are 'VISA write'. But if it is the case I don't know how to do it...
Thanks for your help !