Clear Filters
Clear Filters

JAVA error appears in matlab

4 views (last 30 days)
Hend Mostafa
Hend Mostafa on 31 Aug 2022
Answered: Anirban on 9 Sep 2022
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.'

Answers (1)

Anirban
Anirban on 9 Sep 2022
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.

Tags

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!