clear, clear all and tic toc time
Ältere Kommentare anzeigen
Hello everyone, What is the difference between ''clear;'' and ''clear all;'' when starting an algorithm? As i see, ''clear all;'' takes much time and erases everything in workspace.
2 Kommentare
per isakson
am 2 Aug. 2012
Did you read the documentation on CLEAR?
Daniel Shub
am 2 Aug. 2012
The need for either means you are not using functions and hence not doing it right.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!