Cannot find error source

조회 수: 2 (최근 30일)
Tanvee Moghe
Tanvee Moghe 2020년 6월 26일
댓글: Eric Prandovsky 2022년 12월 2일
I am getting error. It might be a mistake but MATLAB is not announcing where the error occurs. How to do I find the source?

채택된 답변

Aditya Gupta
Aditya Gupta 2020년 6월 26일
Type :
le = lasterror
That should give you info about the last error. You can find where it is happening (eg : stack).
  댓글 수: 1
Eric Prandovsky
Eric Prandovsky 2022년 12월 2일
I found this just prints out the last error as a char:
'The internal buffers to store data is full. Read data to clear the buffers so that you can continue reading data from the hardware.'
I want to find the code that threw this error so I can figure out what buffer it's talking about.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Call C++ from MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by