Skip to content

Can mpm install-doc get the documentation from the internet? #116

Open
@mikecroucher

Description

@mikecroucher

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?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestmpmMATLAB Package Manager related

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions