How to delete a workspace variable from s function

조회 수: 3 (최근 30일)
Anand Rangaramu
Anand Rangaramu 2013년 4월 30일
Hello all
I am adding a variable using mexPutVariable function and reading the variable rom mexGetVariable function in s function (level 2 c). Question is how to delete the variable i created using mexPutVariable in workspace at the end? (Terminate function).
Thanks, Anand
  댓글 수: 2
Anand Rangaramu
Anand Rangaramu 2013년 5월 13일
Found the answer
mexEvalString("clear('global','MyTable_Map')");
Kaustubha Govind
Kaustubha Govind 2013년 5월 13일
Anand: Thanks for posting your solution. Please post it as an answer if possible, so it is clear that your question is resolved. Thanks!

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

채택된 답변

Anand Rangaramu
Anand Rangaramu 2013년 6월 6일
Found the answer
mexEvalString("clear('global','MyTable_Map')");

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Naming Conventions에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by