How to delete a workspace variable from s function

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

Found the answer
mexEvalString("clear('global','MyTable_Map')");
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일

0 개 추천

Found the answer
mexEvalString("clear('global','MyTable_Map')");

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Naming Conventions에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by