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 Center および File ExchangeNaming Conventions についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by