Editor doesn't show what I write in comman

조회 수: 4 (최근 30일)
lior
lior 2024년 7월 28일
편집: Stephen23 2024년 7월 28일
Just as the title says, I type all my requirements for HB in the command section but the editor doesn't show any of my commands, when I try to save the page it just shows a blank command and editor sections, please help
  댓글 수: 2
Torsten
Torsten 2024년 7월 28일
If you want to save your code, you have to write in the editor, not in the command window.
Stephen23
Stephen23 2024년 7월 28일
편집: Stephen23 2024년 7월 28일
These tutorials are a good place to learn how to use MATLAB (including the language and IDE):

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

답변 (1개)

Image Analyst
Image Analyst 2024년 7월 28일
If you type commands in the command window, the statements are not saved to a file. You can see and recall them by typing the up arrow on the keyboard if your cursor is in the command window.
If you want to save your commands to an .m or .mlx file, you need to create an editor window and type your program in there and then save the file. I believe it will ask you to save it when you click the green Run triangle on the tool ribbon to try to run your program.
Exactly what did you do when you tried to "save the page"? What exactly was "the page"? What commands to tool ribbon items did you type or click on to try to save "the page"? Was the "page" either the text in the editor window or command window, or was it a screenshot of the whole MATLAB interface? In Windows you can type Alt-Printscreen on the keyboard to save the current application's window into the clipboard. Regardless of what you did, I don't think trying to save something would erase/clear both the command window and the editor window, so you'll have to give us the exact steps you did so we can try to reproduce that unexpected behavior.

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by