MATLAB: Where is worldToSubscript in R2019a

MATLABworldtosubscript

I'm running Matlab R2019A. If I type "doc worldToSubscript", it brings up the documentation for this function in the on-line help, which can also be viewed on this page:
This documentation indicates that this method is part of the Image Processing Toolbox, even though its function, similarity to other functions, and dependency on spatial reference objects suggests that it should be part of the mapping toolbox. However, if I type "help worldToSubscript", or try to invoke it, Matlab tells me it's not found. Where is it?

Best Answer

edit(fullfile(toolboxdir('images/images'), 'imref2d.m'))
and look at approximately line 275.
This requires the Image Processing Toolbox, R2013a or later.