reading external data via com port or parallel port

Hi all....how can i read external data to matlab via serial port or parallel port? please help .

1 Kommentar

http://www.mathworks.com/matlabcentral/answers/?term=tag%3A%22lpr%22
Somewhere in those postings you will find explanations from me about why using the parallel port is not a good idea, especially not for new projects.

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Friedrich
Friedrich am 8 Mai 2012

1 Stimme

4 Kommentare

I typed the the instruction s=serial(COM1);
in my desktop pc but matlab showed me an error message says '
undefined function or variable 'serial'for data type of 'char'
Which MATLAB release are you using?
I am using 2011a
Hmmm. Please check
which -all serial
Do you possibly get an answer that says something about shadowing and about no license?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by