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 件のコメント

Walter Roberson
Walter Roberson 2012 年 5 月 8 日
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.

サインインしてコメントする。

 採用された回答

Friedrich
Friedrich 2012 年 5 月 8 日

1 投票

4 件のコメント

Ahmed Tawfeeq
Ahmed Tawfeeq 2012 年 5 月 9 日
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'
Walter Roberson
Walter Roberson 2012 年 5 月 9 日
Which MATLAB release are you using?
Ahmed Tawfeeq
Ahmed Tawfeeq 2012 年 5 月 9 日
I am using 2011a
Walter Roberson
Walter Roberson 2012 年 5 月 9 日
Hmmm. Please check
which -all serial
Do you possibly get an answer that says something about shadowing and about no license?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by