필터 지우기
필터 지우기

running Matlab batch error: ERROR: MATLAB error Exit Status: 0x00000001

조회 수: 52 (최근 30일)
Quy
Quy 2023년 3월 10일
편집: Mahsa Hassankashi 2023년 6월 16일
running this command in both the command line and in Jenkins gives me error:
matlab -batch "addpath(fullfile(pwd,'functions')); exit(runJenkins)"
here are some other text displayed ; these are unit tests outputs.The unit test passed, but the error still shows up.
Running mysqrt_Test
..
Done mysqrt_Test
__________
1
ERROR: MATLAB error Exit Status: 0x00000001
C:\Users\ODMED\AppData\Local\Jenkins\.jenkins\workspace\Matlab test>exit 1
Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE
  댓글 수: 3
Thanh
Thanh 2023년 3월 11일
Downloaded 2022b trial version and the same thing is happening. Anyone has any ideas?

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

답변 (1개)

Mahsa Hassankashi
Mahsa Hassankashi 2023년 5월 23일
편집: Mahsa Hassankashi 2023년 6월 16일
Hello
My answere might be late but if you encounter this problem go below link in your hard and remove files inside these folder (Roaming),(local).
"In the case if you could not find below path; Menu(View) -> Check the hidden items"
C:\Users\Mahsa{It can be your user name}\AppData\Roaming\MathWorks\MATLAB\R2020a
C:\Users\Mahsa{It can be your user name}\AppData\Local\MathWorks\MATLAB\R2020a
The problem can be cashe from unproperly closing or exiting from application.
Good Luck.

카테고리

Help CenterFile Exchange에서 Adding custom doc에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by