필터 지우기
필터 지우기

How to access Additional Parallel Port using Matlab?

조회 수: 6 (최근 30일)
Abdullah Tahir
Abdullah Tahir 2012년 5월 17일
댓글: Walter Roberson 2015년 6월 23일
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
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.
Walter Roberson
Walter Roberson 2015년 6월 23일
Neel, what do you need the parallel port to do for you?

댓글을 달려면 로그인하십시오.

답변 (2개)

Abdullah Tahir
Abdullah Tahir 2012년 5월 21일
ok... then can u please help me How to program a usb port?

Walter Roberson
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.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by