フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

how can make loop ??

1 回表示 (過去 30 日間)
Abdoo
Abdoo 2014 年 11 月 22 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
please help me .. i wanna make loop for my receive data, my program only receive data one time. the is the code:
s=serial('com1');
set(s,'BaudRate',9600);
fopen(s);
s.Terminator = 'CR';
B=fgets(s);
set(handles.text1,'string',B);
fclose(s)
delete(s)
clear s
  3 件のコメント
Abdoo
Abdoo 2014 年 11 月 25 日
I have attach two file Mr.Geoff Hayes plz if you can install my attach file and Edit it.
Geoff Hayes
Geoff Hayes 2014 年 11 月 25 日
Abdoo - I won't be able to run your GUI since I have no source to send data to the GUI via the serial port. Look at the links I posted, and consider how you can work that in to your code.

回答 (0 件)

この質問は閉じられています。

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by