For example, I"m debugging a script that screens a ton the output. I desire to clean the console top top every run, so ns don"t have to look v output native old runs.

You are watching: How to clear the command window in matlab


*

*

Short answer, the clc function:

*


*

>> clc %clear commandRelated functions include:

*

years ago, I constantly found myself inputting "closeall", instead of "close all". Lazy fingers, however it naturally generates an error. The basic solution to be to produce a an easy idiom, the closeall duty on my system. Difficulty solved.
One much more option to accomplish the clc is come right-clicking in the command window and choosing "Clear command window"


*

There is likewise a default faster way for clearing command window, i beg your pardon is CTRL+L. That"s probably the fastest means to clean the output.


Thanks for contributing solution to ridge Overflow!

Please be certain to answer the question. Provide details and also share her research!

But avoid

Asking because that help, clarification, or responding to other answers.Making statements based on opinion; back them up with recommendations or an individual experience.

See more: Something About The Way You Look Tonight Lyric, Something About The Way You Look Tonight

To learn more, see our tips on writing an excellent answers.


short article Your price Discard

By click “Post her Answer”, you agree to our terms of service, privacy policy and also cookie policy


Not the answer you're spring for? Browse other questions tagged matlab console or ask your own question.


site style / logo design © 2021 ridge Exchange Inc; user contributions licensed under cc by-sa. Rev2021.10.28.40592


your privacy

By clicking “Accept every cookies”, you agree stack Exchange deserve to store cookies on your an equipment and disclose details in accordance through our Cookie Policy.