A slightly more robust version of when()

Version 1.3 (11.6 KB) by DGM
A slightly more robust version of when()
31 Downloads
Updated 8 Jul 2023
Determine the version when the specified function was introduced to MATLAB.
Results are returned with the version number and a link to the webdocs page.
The specified function does not need to exist in the current installation.
Based on when() by Reza Ahmadzadeh
Reworked to:
  • fix compatibility with changes to website formatting
  • allow lookup of functions not in the current installation (due to version or missing toolbox)
  • accomodate functions where the webdocs URL cannot be blindly predicted (e.g. createMask)
  • allow function name cell array to have any geometry
  • attempt detection of renamed functions
Some fallback search functionality requires R2014b or newer; otherwise, this should work for earlier versions (tested in R2009b).

Cite As

DGM (2024). A slightly more robust version of when() (https://github.com/291ce4321ac/dgm-when/releases/tag/v1.3), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: when - when a function was introduced by MATLAB

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

FEX_dependencies/ifversion_fex

Version Published Release Notes
1.3

See release notes for this release on GitHub: https://github.com/291ce4321ac/dgm-when/releases/tag/v1.3

1.2.2.1

See release notes for this release on GitHub: https://github.com/291ce4321ac/dgm-when/releases/tag/v1.2.2.1

1.2.2

Webdocs page format changed again. Updated to fix.

1.2.1.1

failure mode messages now acknowledge the possibility that the query has been removed from MATLAB

1.1.1.1

added internal notes about limitations and the viability of further development approaches

1.0.1.1

fixed handling of functions which have been removed

1.0.0.1

updated description

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.