Update warning message for windows #236
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds additional information for Windows users.
A lot of trouble that windows users seem to have is that the engine API works differently on Windows.
According to Mathworks docs:
Instead of launching a new process (like on Mac/Linux) it opens a COM channel to the version of MATLAB that is registered in Windows. If multiple MATLAB versions are used or MATLAB was updated, it can be that the version Julia uses is not the same that is registered in Windows.
There are two options:
Until we can do option 1 automatically, I think for users, its easier to perform option 2. I added the instructions into the warning that is printed.
The old instruction suggested doing this in an command prompt but additional information were missing how to control the version that is actually getting registered. To make it smoother and avoid confusion, I think the graphical way is better suited and I removed the mention of the CLI way.
Closes #167
Related: #182
Relevant docs from Mathworks: