This extension provides support for editing MATLAB® code in Visual Studio® Code and includes features such as syntax highlighting, code analysis, navigation support, and more.
Hi,
we're running Matlab in an apptainer container. This runs on a cluster node we connect to via ssh using the VS Code Remote SSH extension. The container image is public so we cannot put any license information in there. The workaround so far is to specify the license server as an environment variable. This works fine when running slurm jobs and starting matlab from the shell etc. But the VS Code extension does not seem to care about the env variable so it starts the activation app. This fails if the user is connecting from a windows machine because activation needs X which the user does not have. (It works fine from Linux because X11 forwarding is enabled. Still, not ideal because just checking out from the lic server would be more convenient).
I would like to suggest to add a preference to the extension similar to the -c command line switch, so users can enter their license location. Alternatively one could make sure to honor the environment variable which I have checked is visible when I open a terminal!
Hi, we're running Matlab in an apptainer container. This runs on a cluster node we connect to via ssh using the VS Code Remote SSH extension. The container image is public so we cannot put any license information in there. The workaround so far is to specify the license server as an environment variable. This works fine when running slurm jobs and starting matlab from the shell etc. But the VS Code extension does not seem to care about the env variable so it starts the activation app. This fails if the user is connecting from a windows machine because activation needs X which the user does not have. (It works fine from Linux because X11 forwarding is enabled. Still, not ideal because just checking out from the lic server would be more convenient).
I would like to suggest to add a preference to the extension similar to the
-c
command line switch, so users can enter their license location. Alternatively one could make sure to honor the environment variable which I have checked is visible when I open a terminal!Thanks!