필터 지우기
필터 지우기

Errors without any explanations

조회 수: 16 (최근 30일)
Sherwin
Sherwin 2020년 8월 28일
답변: Sherwin 2020년 8월 29일
When I run my codes on MATLAB 2020a, I get erros without any explanations. There is just a red circle with a white exclamation mark in it and the code crashes. I have already tried Home>Environment>Code Analyzer and enabling the error messages and non of it works. I am not sharing any codes here since this happens in so many cases.
  댓글 수: 3
madhan ravi
madhan ravi 2020년 8월 28일
Can you share a screenshot also?
Sherwin
Sherwin 2020년 8월 28일
Live Scripts. I had written my code in scripts in MATLAB 2017 but I upgraded to 2020a and I open my scripts as live scripts. BTW do live scipt codes run function saved as live scripts too?

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

채택된 답변

Sherwin
Sherwin 2020년 8월 29일
For anyone having the same problem, as one of the commenters indicated, this only happens in Live Scripts. Running the code as simple scipts (.m files) would return complete and specific explanation of the errors and their locations even if the error happens in a function. Moreover, running the code as a simple scipt (.m file) does not mean that the called functions will run as .m files too. Clicling on the error line would open the function file which is sometimes the .mlx file.
Live scripts are really neat and attractive and I hope I can find out why I do not get an explanation of the errors.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Install Products에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by