Skip to content

MATLAB fails to launch when file descriptor limits are not set #218

@goldenbergdaniel

Description

@goldenbergdaniel

Describe the bug
When I open a MATLAB project in VSCode, the extension gets stuck on the "establishing connection" stage. This means I am unable to run files from VSCode, nor use the autocomplete. I have tried with and without MATLAB open, both to the same result. The MATLAB install path is identical to what MATLAB gives me.

MATLAB LSP in the output window:

(16:06:58) matlabls: Log Directory: /tmp/matlabls_145980
(16:06:58) matlabls: Found cached licensing information...
(16:06:58) matlabls: Directory created or already exists: /home/dg/.matlab/MWI/hosts/ubuntu
(16:06:58) matlabls: Successfully marshaled environment variables for MATLAB
(16:06:58) matlabls: Launching MATLAB...
(16:06:59) matlabls: Successfully fetched entitlements
Using cached Online Licensing to launch MATLAB.
(16:06:59) matlabls: File written successfully to /home/dg/.matlab/MWI/hosts/ubuntu/proxy_app_config.json

Useful Information

  • OS Version: Ubuntu 24.10
  • VS Code Version: 1.95.2

Additional context
I am using MATLAB on the student license, and its installed to my home directory (/home/dg/tools/matlab).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions