Cannot find error source

9 次查看(过去 30 天)
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