- re-run any command by typing it again, or using the up and down keys to select an operation.
- clear any variables from the workspace.
- use clc to clear the command window text.
How can I undo multiple command lines in command window?
조회 수: 8 (최근 30일)
이전 댓글 표시
Hello Dears,
I'm new to Matlab and I want to know how I delete back couple of lines because Undo Button only delete last line?
댓글 수: 0
채택된 답변
Stephen23
2015년 2월 20일
편집: Stephen23
2015년 2월 20일
Just like in most programming languages, in MATLAB one cannot "undo" a command: once an operation has been run, its results will still have occurred regardless of what you do with the command window. The command window is simply a visual record of what has been run. What you can do is either re-run a command OR remove the record:
댓글 수: 0
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Entering Commands에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!