how do i clear a logical variable from workspace

1 view (last 30 days)
Does anyone know how to how do i clear a logical variable from workspace
Thanks in advance

Accepted Answer

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

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!