MATLAB: Turning off dinoLite Edge LED

digital image processingdinoliteimage acquisitionImage Acquisition ToolboxImage Processing Toolbox

Hi people and AI,
I've run into a problem with turning off the LED of my dinoLite. I need to have it disabled within my MATLAB function since its a feature of the program. Reading this person's solution from a couple years back is not working because the dinoLite used is different than mine. The person used a DinoLite premier whereas I am using an Edge.
His work around of telling MATLAB to tell cmd prompt to shut off the dinoLite LED should work for older versions though. I'm in contact with dinoLite support so I will post a solution to this problem once I figure it out. In the mean time, anyone know of another work around I can try?

Best Answer

Okay so I figured out how to do, the way I solved the problem was to get in touch with dinoLite support and get the newest command prompt utility that supports the EDGE series. Make sure the DN_DS_Ctrl.exe is in the directory where you're coding from.
Here is what my DOS command looks like
dos('DN_DS_Ctrl.exe LED off -CAM0')