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?

 Akzeptierte Antwort

Jan
Jan am 14 Apr. 2012

2 Stimmen

builtin('clear', 'clear')

Weitere Antworten (3)

Wayne King
Wayne King am 14 Apr. 2012

0 Stimmen

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

1 Kommentar

Andrew
Andrew am 14 Apr. 2012
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);

Melden Sie sich an, um zu kommentieren.

SOWMYA YANDAPALLI
SOWMYA YANDAPALLI am 2 Apr. 2018

0 Stimmen

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

Kategorien

Mehr zu MATLAB Mobile Fundamentals finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 14 Apr. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by