desktop version of MATLAB doesn't exit

3 views (last 30 days)
The desktop (GUI) version of MATLAB doesn't terminate when type the "exit" command (at the MATLAB command window). It just hangs "Busy" until I forcefully kill the process.
If I close the window, I get a popup window: "MATLAB is BUSY", pick "Stop now", get another popup, confirm that I want a stop, and finally the desktop closes and the process is gone.
The non-desktop version, terminates normally.
Release 2018b on Debian 10
Thanks,
Razvan
  6 Comments
OCDER
OCDER on 17 Jan 2019
Try contacting MathWorks directly, via the Contact Us link above this website. They'll know a lot more about the internal workings of the Matlab startup-license-checking routine, which seems to be the slow step here.
Razvan Popescu
Razvan Popescu on 24 Jan 2019
It turned out the problem had to do with the startup not the exit... The application took 22min to execute the first command (then it proceeded normaly) ... After engaging the help of Mathworks support, we discovered that it all had to do with the Connector's internal web service not being able to connect via the Ipv6 loopback interface... (my IPv6 firewall rules were excessively restrictive). Quite tricky...

Sign in to comment.

Accepted Answer

Razvan Popescu
Razvan Popescu on 24 Jan 2019
Turns out the problem had to do with a delayed startup -- more than 20min to execute the first command. License server access was fine.
The cause turned out to be the host firewall (iptables) blocking IPv6 loopback interface access! Deactivate IPv6 or make sure your firewall allows access to the IPv6 loopback interface (as well as to the IPv4 one).
Internally, MATLAB starts the Connector service, and attempts to connect via the loopback interfaces (both v4 and v6). As my v6 loopback was blocked by the host firewall, the code had to reach a timeout, repeatedly, for a total of more than 20min, before proceeding.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!