clc command window restore
36 ビュー (過去 30 日間)
古いコメントを表示
Is there anyway I can get back the information I had in my Command window after using "clc" and closing the app?
I'm pretty new to matlab and I thought by saving the file I save the command windows information as well as the variables.
1 件のコメント
Walter Roberson
2023 年 10 月 1 日
Note by the way that the command window is not considered to be associated with any particular .m file . If you switch editor tabs to get to a different file, you do not get a different command window.
You might be interested in using LiveScript https://www.mathworks.com/help/matlab/matlab_prog/what-is-a-live-script-or-function.html
回答 (2 件)
Sam Chak
2023 年 10 月 1 日
編集済み: Sam Chak
2023 年 10 月 1 日
Hi @Rana
You can press the Up Arrow key (↑) to navigate the Command History.
However, unsaved variables and data in the Workspace will be cleared after closing MATLAB. You can save variables from workspace to file by using the save() command.
0 件のコメント
Bruno Luong
2023 年 10 月 1 日
編集済み: Bruno Luong
2023 年 10 月 1 日
From MATLAB windows go to the menu Layout -> Command History -> Dock. You then have a tab "Command History" appears on the right side. Click on that you have then a big chunk of cmmand history that you can copy and past. Click on the tab gain will minimize it.
0 件のコメント
参考
カテゴリ
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!