Command Window No Output
이전 댓글 표시
Upon typing anything into the command window, the answer is only outputted into the workspace, and not into the command window as the typically expected "ans = ___" line:

Even typing gibberish generates no output or any error handling. It just prompts the next line:

Running a program with internal error handling will work, but it seems things such as type errors or other MATLAB-handled errors are ignored, and there are no ways to generate outputs, unless I force it with disp(). But I obviously don't want to keep doing that nor is that a viable solution going forward.
A coworker was trying to help me with this and we discovered that running "evalc" in the command window generates the same problem on his MATLAB as my current issue. I don't remember ever running "evalc" unless I ran a script at some point that had that included. There seems to be no known solution out there for how to reverse the effect of this "evalc" and/or turn it off.
댓글 수: 2
Matlab Pro
2024년 6월 3일
HI. You wrote: "Upon typing anything into the command window, the answer is only outputted into the workspace, and not into the command window", Well - this is not true: I get the result reflected in both ...
>> 1+1
ans =
2
So maybe I've missed something?
Nolan
2024년 6월 3일
채택된 답변
추가 답변 (1개)
Taylor
2024년 6월 3일
0 개 추천
A previous post states that resetting MATLAB to its launched state fixed the same issue you're seeing here.
카테고리
도움말 센터 및 File Exchange에서 Programming Utilities에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

