image thumbnail

A (slightly) more robust version of when()

version (11 KB) by DGM
Find the MATLAB version when a given function was introduced.


Updated 11 Aug 2021

View License

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
Some fallback search functionality requires R2014b or newer; otherwise, this should work for earlier versions (tested in R2009b).

Cite As

DGM (2021). A (slightly) more robust version of when() (, MATLAB Central File Exchange. Retrieved .

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

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!