How do I resolve the following error while trying to open Simulink in MATLAB 2018a on Ubuntu 20.04.3 LTS?

5 次查看(过去 30 天)
Warning: Undefined variable "DAStudio" or class "DAStudio.WaitBar".
> In sltemplate.ui.StartPage/showWithFallback
In sltemplate.ui.StartPage.show
Can't reload '/usr/local/MATLAB/R2018a/bin/glnxa64/libmwsl_lib_browse2.so'
Error in sltemplate.ui.StartPage/showWithFallback
Error in sltemplate.ui.StartPage.show

回答(1 个)

Shlok
Shlok 2025-4-30
Hi Roshan,
I understand that you are facing an error while trying to open Simulink in MATLAB R2018a. This issue is likely due to missing shared library dependencies that MATLAB requires to function properly.
To diagnose the problem, you can start by using the "ldd" command in your terminal to identify which shared libraries are missing. For example, run:
ldd /usr/local/MATLAB/R2018a/bin/glnxa64/libmwsl_lib_browse2.so
This command will list all dependencies and clearly indicate any that are not found on your system. If any are missing, you may need to install the corresponding packages via "apt".
If resolving the dependencies manually does not fix the issue or too many libraries are missing, you can try reinstalling MATLAB, preferably a newer version, for better compatibility and updated libraries.
Refer to the following MATLAB Central link for other possible solutions to similar issues:
Hope it helps.

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by