Skip to content

Conversation

dklilley
Copy link
Member

This change fixes an issue which prevents MATLAB sign-in when launching MATLAB on Windows.

When MATLAB is not signed-in, launching the application should prompt the user to sign-in. However, when MATLAB is launched with both the -log and -logfile startup flags, this process does not work correctly and an error is displayed. This issue is being tracked internally and will be fixed within MATLAB, but can be worked around by eliminating the usage of -logfile.

When -logfile is eliminated, the output which was previously being logged by MATLAB is now communicated over stderr, and we need to write to disk manually.

@dklilley dklilley requested a review from gauravsavadi June 28, 2023 19:44
@dklilley dklilley self-assigned this Jun 28, 2023
@dklilley dklilley merged commit 6eca6d9 into main Jun 28, 2023
@dklilley dklilley deleted the dlilley.bugfix_allow_matlab_signin branch June 28, 2023 20:19
diningPhilosopher64 pushed a commit to diningPhilosopher64/MATLAB-language-server that referenced this pull request Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants