• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

can anyone help ?

Status
Not open for further replies.

slifer88

New Member
i need to interface matlab with the parallel port..in order to send 1's and 0's on the parallel port data pins..can anyone help in that matlab code plzzzzz !!! :( :(
 

dougy83

Well-Known Member
You can use a C function to access the ports through e.g. io.dll

The C program should be compiled using the matlab compiler so that you can use the C functions you just wrote.

I don't have matlab installed properly at the moment, but I've compiled programs for matlab before - it was very easy.

To compile (or just google for other instructions):
HOW TO COMPILE C
 

Darkcommandos

New Member
Plz i have problem when compile the file and tell me that in the Output:
----------------------------------------------------------------------
Debug build of project `D:\TEST\TEST.mcp' started.
Language tool versions: mpasmwin.exe v5.34, mplink.exe v4.34, mcc18.exe v3.34
Preprocessor symbol `__DEBUG' is defined.
Sun Dec 27 19:52:45 2009
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Deleted file "D:\TEST\TEST.mcs".
Clean: Done.
Build aborted. The project contains no source files.
----------------------------------------------------------------------
Debug build of project `D:\TEST\TEST.mcp' failed.
Language tool versions: mpasmwin.exe v5.34, mplink.exe v4.34, mcc18.exe v3.34
Preprocessor symbol `__DEBUG' is defined.
Sun Dec 27 19:52:45 2009
----------------------------------------------------------------------
BUILD FAILED
 
Status
Not open for further replies.

Latest threads

EE World Online Articles

Loading
Top