Cannot find error source

33 vues (au cours des 30 derniers jours)
Tanvee Moghe
Tanvee Moghe le 26 Juin 2020
Commenté : Eric Prandovsky le 2 Déc 2022
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?

Réponse acceptée

Aditya Gupta
Aditya Gupta le 26 Juin 2020
Type :
le = lasterror
That should give you info about the last error. You can find where it is happening (eg : stack).
  1 commentaire
Eric Prandovsky
Eric Prandovsky le 2 Déc 2022
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.

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by