Cannot find error source

4 ビュー (過去 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 Center および File ExchangeCall C++ from MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by