JAVA error appears in matlab

조회 수: 7 (최근 30일)
Hend Mostafa
Hend Mostafa 2022년 8월 31일
답변: Anirban 2022년 9월 9일
This error appears when I try to run a matlab file and it doesnt run btw
Error using ee_battery_opt_m (line 98)
Error due to multiple causes.
Caused by:
Error using ee_battery_opt_m (line 98)
Error due to multiple causes.
Error using ee_battery_opt_m (line 98)
Unexpected exception (Bundle#540 start failed: Loading C:\Program
Files\Polyspace\R2019b\bin\win64\builtins\physmod\sm\gui\mwphysmod_sm_gui_jni_builtinimpl.dllfailed with error:
Failed to retrieve error message.) was caught.
Error using ee_battery_opt_m (line 98)
Unable to load 'network_engine_domain' due to the following error
'Unexpected exception (Bundle#540 start failed: Loading C:\Program
Files\Polyspace\R2019b\bin\win64\builtins\physmod\sm\gui\mwphysmod_sm_gui_jni_builtinimpl.dllfailed with error:
Failed to retrieve error message.) was caught.'
Error using ee_battery_opt_m (line 98)
Error due to multiple causes.
Error using ee_battery_opt_m (line 98)
Unexpected exception (Bundle#540 start failed: Loading C:\Program
Files\Polyspace\R2019b\bin\win64\builtins\physmod\sm\gui\mwphysmod_sm_gui_jni_builtinimpl.dllfailed with error:
Failed to retrieve error message.) was caught.
Error using ee_battery_opt_m (line 98)
Unable to load 'network_engine_domain' due to the following error
'Unexpected exception (Bundle#540 start failed: Loading C:\Program
Files\Polyspace\R2019b\bin\win64\builtins\physmod\sm\gui\mwphysmod_sm_gui_jni_builtinimpl.dllfailed with error:
Failed to retrieve error message.) was caught.'
Error using ee_battery_opt_m (line 98)
Error due to multiple causes.
Error using ee_battery_opt_m (line 98)
Unexpected exception (Bundle#540 start failed: Loading C:\Program
Files\Polyspace\R2019b\bin\win64\builtins\physmod\sm\gui\mwphysmod_sm_gui_jni_builtinimpl.dllfailed with error:
Failed to retrieve error message.) was caught.
Error using ee_battery_opt_m (line 98)
Unable to load 'network_engine_domain' due to the following error
'Unexpected exception (Bundle#540 start failed: Loading C:\Program
Files\Polyspace\R2019b\bin\win64\builtins\physmod\sm\gui\mwphysmod_sm_gui_jni_builtinimpl.dllfailed with error:
Failed to retrieve error message.) was caught.'
Error using ee_battery_opt_m (line 98)
Error due to multiple causes.
Error using ee_battery_opt_m (line 98)
Unexpected exception (Bundle#540 start failed: Loading C:\Program
Files\Polyspace\R2019b\bin\win64\builtins\physmod\sm\gui\mwphysmod_sm_gui_jni_builtinimpl.dllfailed with error:
Failed to retrieve error message.) was caught.
Error using ee_battery_opt_m (line 98)
Unable to load 'network_engine_domain' due to the following error
'Unexpected exception (Bundle#540 start failed: Loading C:\Program
Files\Polyspace\R2019b\bin\win64\builtins\physmod\sm\gui\mwphysmod_sm_gui_jni_builtinimpl.dllfailed with error:
Failed to retrieve error message.) was caught.'

답변 (1개)

Anirban
Anirban 2022년 9월 9일
Your MATLAB root begins with C:\Program Files\Polyspace\. This indicates that you might be opening MATLAB from C:\Program Files\Polyspace\R2019b\bin. Even though a MATLAB executable exists in this location, it is not meant to be used.
You should open MATLAB from a location like C:\Program Files\MATLAB\R2019b\bin.

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by