Problems with BytesAvailableFcn in App designer

1 回表示 (過去 30 日間)
Guillermo Cid Espinosa
Guillermo Cid Espinosa 2017 年 11 月 30 日
コメント済み: wu xianhua 2020 年 11 月 16 日
I write in this forum to see if someone could help me solve the problem I have with the BytesAvailableFn function. I am developing an interface using the matlab app designer but when I run the code the program does not access the read function (I have put a debug to check it) and I do not understand where the error may be. The problem is that this code works in Guide but in App designer it does not. Thank you very much I hope for your help. I enclose a fragment of the code:
app.t_waveforms.BytesAvailableFcnMode = 'byte';
app.t_waveforms.BytesAvailableFcnCount = app.buffer + 8;
set (app.t_waveforms.BytesAvailableFcn, @read);

採用された回答

Chris Portal
Chris Portal 2017 年 12 月 4 日
  3 件のコメント
Guillermo Cid Espinosa
Guillermo Cid Espinosa 2018 年 3 月 29 日
Thank you very much. I finally managed to solve it. The problem was that in the @read function it was necessary to declare more input arguments.
wu xianhua
wu xianhua 2020 年 11 月 16 日
i have the same problem, have the solution yet ? ths

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by