JAVA error appears in matlab
Show older comments
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 Comment
Hend Mostafa
on 3 Sep 2022
Answers (1)
Anirban
on 9 Sep 2022
0 votes
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.
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!