This is a MEX-file for MATLAB enabling to perform input and output CPU instructions (input/output port access) within Matlab running on Windows OS. Thanks to this you can access for example parallel (LPT) port and control your hardware.
MATLAB call examples:
mport('state')
mport('inpout')
mport('winring0')
mport('out', address, dataout)
[data] = mport('in', address)
[data] = mport('in', address, count)
[data] = mport('inout', address, dataout)
mport('out16', address, dataout)
...
Files - ZIP archive mport121.zip with this contents:
readme.txt this file
MPORT\mport.dll compiled MEX file
MPORT\test.m test & example m-file
MPORT\Verbose\mport.dll MEX file compiled with
verbose mode option
pictures\screen1.bmp oscilloscope traces for
mport('out', 888, [0 255 0..]
(Mobile AMD Sempron 1.8 GHz)
(3 us per one call)
note Windows XP process
breaking on main timebase
pictures\screen2.bmp oscilloscope traces for
mport('out', 888, 0)
mport('out', 888, 255)
in a simple for cycle
(Mobile AMD Sempron 1.8 GHz)
(8 us per one call)
logix4u\inpout32.dll Logix4U kernel driver
(32bit system)
highrez\inpout32.dll Highresolution Enterprises
kernel driver
(32 bit and 64 bit system)
highrez\InstallDriver.exe install Highresolution
Enterprises low level
driver to system
openlibsys\WinRing0.dll OpenLibSys dll's and kernel
openlibsys\WinRing0x64.dll drivers
openlibsys\WinRing0.sys
openlibsys\WinRing0x64.sys
openlibsys\WinRing0.vxd
Version 1.21 - 06/03/2009 mport121.zip (50)
Version 1.20 - 15/12/2008
Version 1.10 - 18/03/2007
Version 1.01 - 13/07/2006