How to access Additional Parallel Port using Matlab?
3 次查看(过去 30 天)
显示 更早的评论
I have got USB to Parallel Converter, my Laptop detects it. But I can't access this Parallel Port using Matlab? Kindly tell me how to access this Parallel Port?
5 个评论
Neel Bhatt
2015-6-22
Can you help me connect to a parallel port with matlab? My laptop doesn't have a port but I just want to check if I can send data via a parallel port.
回答(2 个)
Walter Roberson
2012-5-21
USB ports are serial buses with a master/slave polling protocol. One does not "program" a USB port: one makes requests of a USB controller device. Making custom requests of the controller is beyond what MATLAB can do without additional programming with a low-level system language such as C.
There are USB-compatable devices that, with appropriate driver software installed, USB controllers know to present to the operating system as if the devices were serial ports or parallel ports. Programs do not need to do anything special to use those virtual serial ports or virtual parallel ports, just access the devices with the same code that would be used for [inferior quality] serial ports or parallel ports.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Instrument Control Toolbox Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!