how do i clear a logical variable from workspace

Does anyone know how to how do i clear a logical variable from workspace
Thanks in advance

 采纳的回答

Like any other variable
a = true;
clear a;

2 个评论

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

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Use COM Objects in MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by