matlab-dockerfile icon indicating copy to clipboard operation
matlab-dockerfile copied to clipboard

Can `mpm install-doc` get the documentation from the internet?

Open mikecroucher opened this issue 1 year ago • 0 comments

I have MATLAB R2024a and ask it to provide matlabroot

>> matlabroot

ans =
    'C:\Program Files\MATLAB\R2024a'

I open a PowerShelll prompt with Administrator rights and try to install the doc

./mpm install-doc --matlabroot="C:\Program Files\MATLAB\R2024a"
Error: Unable to find installation files in the source folder. Specify a valid source folder.

Maybe it didn't like the = in the arguments?

./mpm install-doc --matlabroot "C:\Program Files\MATLAB\R2024a"
Error: Unable to find installation files in the source folder. Specify a valid source folder.

At first I thought this was a bug but on a second reading of the docs I see that I need a local source folder to install from.

So now this is a feature request. Could the command be updated so that it can grab the documentation from MathWorks servers when used like this? Perhaps source could be overloaded to be a URL?

mikecroucher avatar Aug 29 '24 19:08 mikecroucher