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 Comment

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.

Sign in to comment.

 Accepted Answer

4 Comments

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?
Hmmm. Please check
which -all serial
Do you possibly get an answer that says something about shadowing and about no license?

Sign in to comment.

More Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!