JAVA error appears in matlab

8 次查看(过去 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