필터 지우기
필터 지우기

clc command window restore

조회 수: 24 (최근 30일)
Rana
Rana 2023년 10월 1일
편집: Bruno Luong 2023년 10월 1일
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
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.

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

답변 (2개)

Sam Chak
Sam Chak 2023년 10월 1일
편집: Sam Chak 2023년 10월 1일
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.

Bruno Luong
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.

카테고리

Help CenterFile Exchange에서 Entering Commands에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by