Cannot find error source
33 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Tanvee Moghe
il 26 Giu 2020
Commentato: Eric Prandovsky
il 2 Dic 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?
0 Commenti
Risposta accettata
Aditya Gupta
il 26 Giu 2020
Type :
le = lasterror
That should give you info about the last error. You can find where it is happening (eg : stack).
1 Commento
Eric Prandovsky
il 2 Dic 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.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Whos in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!