How to not display the output of a function?
19 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
SANG GYU LEE
il 30 Set 2016
Commentato: Puthi Seng
il 24 Mag 2021
I have a function which has three outputs. one of them is too long, so it takes few minutes to display the answer. Is there any way that I do not see the output in the command window?
0 Commenti
Risposta accettata
James Tursa
il 30 Set 2016
Modificato: James Tursa
il 30 Set 2016
Put a semi-colon at the end of the line. E.g.,
x = myfunction(stuff) <-- will display the result to the screen
x = myfunction(stuff); <-- will not display the result
1 Commento
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!