read data send from zigbee

16 ビュー (過去 30 日間)
ala
ala 2013 年 10 月 3 日
コメント済み: ala 2013 年 10 月 5 日
Hi all i am working on matlab code to transfer image from my computer to another using ZigBee coneccted by usb port can any one help me pleas how can i read data from zigbee to matlab

採用された回答

David Sanchez
David Sanchez 2013 年 10 月 3 日
ZigBee uses a serial protocol. Just create an serial object and read the input buffer.
read the serial documentation to create the serial object:
doc serial
  1 件のコメント
ala
ala 2013 年 10 月 5 日
thanks alot i did not expect to use serial port commands to get USB port, but when i used s1 = serial('COM1'); the i set the BaudRate but the resulted port Status is "closed", while the device is connected then i used Open(s1), but matlab show the message" failed: Port: COM1 is not available. No ports are available. Use INSTRFIND to determine if other instrument objects are connected to the requested device." then i used INSTRFIND it show : Index: Type: Status: Name: 1 serial closed Serial-COM1 can you pleas tell where i did wrong. thanks again for your help

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeClassification Trees についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by