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

 채택된 답변

José-Luis
José-Luis 2014년 1월 15일
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에 대해 자세히 알아보기

질문:

2014년 1월 15일

댓글:

2014년 1월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by