how do i clear a logical variable from workspace

2 vues (au cours des 30 derniers jours)
Keith
Keith le 15 Jan 2014
Commenté : Keith le 15 Jan 2014
Does anyone know how to how do i clear a logical variable from workspace
Thanks in advance

Réponse acceptée

José-Luis
José-Luis le 15 Jan 2014
Like any other variable
a = true;
clear a;
  2 commentaires
Keith
Keith le 15 Jan 2014
My logical is a vector, but it is not clearing - am I missing something?
Keith
Keith le 15 Jan 2014
disregard I figured it out, I was clearing outside the loop when it should have been inside.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Use COM Objects in MATLAB dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by