필터 지우기
필터 지우기

Matlab does not report errors [SOLVED]

조회 수: 29 (최근 30일)
kale
kale 2022년 10월 27일
편집: kale 2022년 10월 28일
I have updated Matlab to the latest version 2022, but I have noticed that I no longer get any kind of error when I play 'Run' button.
For example, if I write these two random and incorrect lines in the middle of the code, it does not give me any kind of error! Performing the step-by-step analysis, the simulation rightly crashes/stops at these lines .. but it does not show me any red errors in the editor
  댓글 수: 2
James Tursa
James Tursa 2022년 10월 27일
편집: James Tursa 2022년 10월 27일
What kind of error did you used to get when you pressed the 'RUN' button? Is there a variable or function named fwfwf335? Dividing 3 / 0 will generate an inf result and not generate an error.
kale
kale 2022년 10월 28일
There is no variable called fwfwf335

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

답변 (1개)

Walter Roberson
Walter Roberson 2022년 10월 27일
Neither of those is a syntax error or syntax warning, so errors and warnings in the editor would not be appropriate.
The editor could potentially detect hard-coded divisions by 0 and warn about them, but that would be yellow lines in the editor rather than red lines in the editor.
  댓글 수: 2
kale
kale 2022년 10월 28일
편집: kale 2022년 10월 28일
here is another example:
This time it tells me that there is an error with a red circle and an exclamation mark ... but it does not tell me anything about the nature of the error if I try to click on the red symbol or hover over it with the mouse pointer.
Obviously nothing appears in the command window either
Is this normal?
kale
kale 2022년 10월 28일
I SOLVED THE PROBLEM
I resized the various default windows in matlab and now display everything

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

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by