I accidentally overwrote the clear command in matlab mobile and now cannot clear that variable or any other ones for that matter. Anybody know how I can clear variables on matlab mobile without using the clear command?

 採用された回答

Jan
Jan 2012 年 4 月 14 日

2 投票

builtin('clear', 'clear')

その他の回答 (3 件)

Wayne King
Wayne King 2012 年 4 月 14 日

0 投票

Does clearvars works?
clearvars X* %clear all variables starting with X

1 件のコメント

Andrew
Andrew 2012 年 4 月 14 日
What would be the exact syntax, I'm new with Matlab.
I typed:
clearvars clear
and the result was:
Index exceeds matrix dimensions.
Error in clearvars (line 93)
evalin('caller', clearExpr);

サインインしてコメントする。

Daniel Shub
Daniel Shub 2012 年 4 月 15 日

0 投票

There is a good blog post by Loren on this: http://blogs.mathworks.com/loren/2011/01/27/a-clear-conundrum/
SOWMYA YANDAPALLI
SOWMYA YANDAPALLI 2018 年 4 月 2 日

0 投票

I had overwritten cheby1 function. Can someone help me how to retrieve the original cheby1 function. Thanks in advance.

コミュニティ

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

質問済み:

2012 年 4 月 14 日

回答済み:

2018 年 4 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by