How to find from what row an outprint comes from
Mostra commenti meno recenti
Hi Everyone. For some reason i get a very large "data print" in the command window when i import data with my import file. For what I can see, I have put ; in the end of every row which I thought would terminate all kinds of outputs.
Now I wonder if there is any command that can look from which row in my m file this data print comes from? Thank you! Fredrik Lindelöw
Risposta accettata
Più risposte (3)
Jan
il 11 Nov 2011
1 voto
You can use the debugger also: Set a breakpoint in the code and step through the program line by line until the output appears.
There might be a disp or display, an unterminated line in a subfunction, or a comma after a command e.g. when twi commands are written to a single line.
Walter Roberson
il 11 Nov 2011
dbstop in disp
dbstop in fprintf
and possibly even
dbstop in display
Fredrik
il 11 Nov 2011
0 voti
Categorie
Scopri di più su Whos in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!