How do I clear the command history from the command line in MATLAB?
Show older comments
I would like to clear the command history from the command line in MATLAB.
Accepted Answer
More Answers (1)
drummer
on 10 Jul 2018
0 votes
just type clc . It will clear your history window in matlab. If you want to clear the data as well, type: clc, clear
2 Comments
Jacob Lynch August
on 21 Mar 2019
That's not useful if you're calling a function that takes a secret phrase for input, e.g. opening an encrypted file.
Categories
Find more on Help and Support in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!