Scrape MATLAB's documentation for (hopefully) all function names and output to JSON files for your reading pleasure.
For each MATLAB release, a JSON file is output per toolbox and all unique functions are consolidated into a single JSON.
- For TOS compliance, only public facing documentation is accessed
- See this issue for additional information
- These listings are not guaranteed to be comprehensive
- The filtering mechanism is continually being improved in order to provide the best possible listing of "actual" functions without requiring significant manual intervention
Assuming MATLABfcnscrape
is installed in the current environment, it can be invoked directly from the command line:
$ fcnscrape
Usage: fcnscrape [OPTIONS] COMMAND [ARGS]...
Scrape MATLAB's online documentation for all function names.
Options:
--install-completion Install completion for the current shell.
--show-completion Show completion for the current shell, to copy it or
customize the installation.
--help Show this message and exit.
Commands:
run Run the documentation scraping pipeline for the specified release.
Invokes the main scraping pipeline
Parameter | Description | Default |
---|---|---|
--force-new-cache / --no-force-new-cache |
Force URL cache update | --no-force-new-cache |
In addition to tags for releases of the tool, tags are also added to commits adding (or updating) listings for specific releases. Initial releases are tagged as the major version, e.g. R2020b
, with any updates tagged with a dash suffix, e.g. (R2020b-1
)