how do i clear a logical variable from workspace

 Respuesta aceptada

José-Luis
José-Luis el 15 de En. de 2014
Like any other variable
a = true;
clear a;

2 comentarios

Keith
Keith el 15 de En. de 2014
My logical is a vector, but it is not clearing - am I missing something?
Keith
Keith el 15 de En. de 2014
disregard I figured it out, I was clearing outside the loop when it should have been inside.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Preguntada:

el 15 de En. de 2014

Comentada:

el 15 de En. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by