how do i clear a logical variable from workspace

조회 수: 15 (최근 30일)
Keith
Keith 2014년 1월 15일
댓글: Keith 2014년 1월 15일
Does anyone know how to how do i clear a logical variable from workspace
Thanks in advance

채택된 답변

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile 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