Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matlab in a remote server #180

Open
garikoitz opened this issue Sep 24, 2024 · 1 comment
Open

Matlab in a remote server #180

garikoitz opened this issue Sep 24, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@garikoitz
Copy link

Describe the bug
Not connecting to Matlab when connected to a server with matlab using a tunnel

To Reproduce
Steps to reproduce the behavior:

  1. Start a tunnel to a server with Matlab installed
  2. In Matlab configuration, add the result of the remote server's matlabroot
  3. Ask to connect to matlab
  4. See forever MATLAB: Establishing Connection

Expected behavior
I would like to run 1+1 in my remote file with shift+enter in my console, that actually runs in the remote server's matlab

Screenshots
I don't think it is required

Useful Information

  • OS Version: server Ubuntu, local: macos Sequoia
  • VS Code Version: 1.93.1

Additional context
No more context, it would be great to have a system to test if local VS Code is able to see remote Matlab. Right now, I edit the .m in the remote machine, and I copy and paste into a remote terminal, where I have a "matlab -nodesktop' opened

@garikoitz garikoitz added the bug Something isn't working label Sep 24, 2024
@dklilley
Copy link
Member

Thank you for raising this to us!

Can you please share the language server logs from your VS Code session. These can be found using the following directions:

  1. Open the Output panel in VS Code (can be opened using Shift+Cmd+U)
  2. In the drop-down, select "MATLAB Language Server"
  3. At the top of the log, there should be a "Log Directory" printed
  4. Please share the log flies from this directory

It would also be helpful if you could provide example steps of how you are setting up the tunnel, including the value you are specifying as the matlabroot.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants