Even a simple code I wrote in matlab does not appear in the command window section, only the name of the file appears for example >>untitled1 How can I solve this?
조회 수: 2 (최근 30일)
이전 댓글 표시
a = 4;
b = 7;
댓글 수: 1
Dyuman Joshi
2024년 2월 6일
As you are just starting with MATLAB, I suggest you take the free MATLAB Onramp tutorial to learn the essentials and the syntax of MATLAB.
답변 (2개)
Walter Roberson
2024년 2월 5일
That is normal when code is stored in a file.
When lines end in semi-colon, that is a request to not output the result of the line.
Cris LaPierre
2024년 2월 5일
There is nothing to solve. That is how MATLAB works. The command window is telling you what script was executed. It does not print the code in that script to the command window.
I suggest opening your script in the editor if you want to see the code.
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!