问题
I am using compaq presario cq40 laptop with windows seven ultimate(32-bit OS). I would like to access the 15 pin VGA port using Matlab (preferrably using the Data Acquisition Toolbox). Do I require extra drivers or should download anything from Mathworks.com ??
I have already developed a program for sending digital signal through parallel port (LPT1) using digitalio() function in DAQ toolbox. I intend to use the VGA 15 pin port the same way (since there is no parallel port for the laptop).
Thank You.
回答1:
It is not possible to access the individual pins on a VGA port.
The problem is that the graphics card completely abstracts it away(non-leakyish) so there is no way of working around it, not even at the kernel level.
I would not recommend using the VGA port as a data port anyway though.
来源:https://stackoverflow.com/questions/2126282/vga-15-pin-port-data-read-and-write-using-matlab