Why is my Live Script working on macOS and Windows 10 but not on Linux?

5 views (last 30 days)
Hello Community!
My MATLAB Live Script with Simulink Model has a terrible performance and causes crashes of MATLAB without a error message only on Linux. The same MATLAB Live Script with Simulink Model is running on Windows 10 and macOS without any problems. It tried it on all systems with the same MATLAB Version, the same toolboxes and similar system configurations.
Sometimes the Message "Message Service fatally disconnected" pops up and after that it is not possible to edit the Live Script any more or open another Live Script until I reopen MATLAB. When I run the Live Script, MATLAB freezes and crashes after a couple of minutes. The same Live Script is working on the other systems without any problems.
Operating System: Linux 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Thank you :)
  8 Comments
Akshat Gupta
Akshat Gupta on 13 Aug 2021
@Luis F. If libgconf-2.so.4 library is not present in Linux, live editor may not work. The commands I mentioned in the previous comments are for installing this library. Try to check if this library is present or not on the machine.
Also, you need sudo access to install the library. I am assuming that you have sudo access to the machine.
Luis F.
Luis F. on 16 Aug 2021
@Akshat Gupta Thank you so far. All the libraries you mentioned are now installed, but it seems that it still doesn't work :(

Sign in to comment.

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!