How do I delete or modify a command from de Command Window?

27 ビュー (過去 30 日間)
Carolina Henao
Carolina Henao 2016 年 9 月 22 日
コメント済み: Carolina Henao 2016 年 9 月 23 日
Hello, I'm getting started with Matlab. I've just put a command and executed it, but then I want to change it because I typed incorrectly, but the program does not allow me to do that. How can I rearrange the command that I previously put? Thank you.
  2 件のコメント
KSSV
KSSV 2016 年 9 月 22 日
Where you are typing the command? I guess you are typing it in workspace. You cannot edit the already executed command. You have retype it and execute. You can write all your commands in a .m file and execute this m file, the m file can be edited.
Carolina Henao
Carolina Henao 2016 年 9 月 23 日
Yes, I am typing it in workspace. Thank you, I'll check.

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

採用された回答

Walter Roberson
Walter Roberson 2016 年 9 月 22 日
In the command window, type the up-arrow key. The previous command will show up in the input buffer. You can go further back by pressing up-arrow more times. You can edit what comes up and finally press return to execute the modified command.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeWorkspace Variables and MAT Files についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by