clear, clear all and tic toc time
Afficher commentaires plus anciens
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 commentaires
per isakson
le 2 Août 2012
Did you read the documentation on CLEAR?
Daniel Shub
le 2 Août 2012
The need for either means you are not using functions and hence not doing it right.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Workspace Variables and MAT Files dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!