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?

 Réponse acceptée

Plus de réponses (3)

Wayne King
Wayne King le 14 Avr 2012

0 votes

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

1 commentaire

Andrew
Andrew le 14 Avr 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);

Connectez-vous pour commenter.

SOWMYA YANDAPALLI
SOWMYA YANDAPALLI le 2 Avr 2018

0 votes

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

Communautés

Plus de réponses dans  Distance Learning Community

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by