Cannot find error source

33 visualizaciones (últimos 30 días)
Tanvee Moghe
Tanvee Moghe el 26 de Jun. de 2020
Comentada: Eric Prandovsky el 2 de Dic. de 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?

Respuesta aceptada

Aditya Gupta
Aditya Gupta el 26 de Jun. de 2020
Type :
le = lasterror
That should give you info about the last error. You can find where it is happening (eg : stack).
  1 comentario
Eric Prandovsky
Eric Prandovsky el 2 de Dic. de 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.

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by