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);

댓글을 달려면 로그인하십시오.

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 Exchange에서 Startup 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