Always_Confused_Sudent
Junior Member level 3
I was trying to find a way to access the parallel port through matlab and I found this great library.I posted this after searching the boards for similar topics and didn't find this...I hope you find it useful..
http://www.it.fht-esslingen.de/~zimmerma/software/index_uk.html
I've just tested it with parallel port and it worked great..
don't forget to read the "Details about IOlib" page...
And guess what, the download also includes a driver that allows direct hardware access under WindowsXP,NT,2000!IOlib - Hardware Input/Output Library for Matlab and Simulink
This library allows port and memory IOas well as using interrupts and timers for Matlab and Simulink under Windows 9x and Windows NT. Matlab functions for use in Matlab command scripts and Simulink blocks for use in Simulink block diagrams are provided.
A special Simulink block RTCsim allows Simulink to be used as a soft real time data aquisition or control system.
Additionally, using the block RemoteIO or Matlab function tcp(), a Simulink block diagram or a Matlab program can send or receive data via a TCP/IP connection.
http://www.it.fht-esslingen.de/~zimmerma/software/index_uk.html
I've just tested it with parallel port and it worked great..
don't forget to read the "Details about IOlib" page...