필터 지우기
필터 지우기

Problems with BytesAvailableFcn in App designer

조회 수: 5 (최근 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 CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by