MATLAB: Does the Shared Library Support Documentation in MATLAB 7.2 (R2006a) have references to nonexistent DLL files

MATLAB

There are references to nonexistent DLL files in the Shared Library Support Documentation in MATLAB 7.2 (R2006a) at the page located by entering the following at the MATLAB Command Prompt:
web([docroot,'/techdoc/ref/loadlibrary.html'])
This page references DLL files in Windows, but in this release, the DLL extension has been changed to be architecture-dependent.

Best Answer

This is a bug in the documentation for R2006a. The documentation and example illustrating use of generic DLL support in MATLAB assume a shrlibsample.dll and shrlibsample.h file in the directory matlabroot\extern\examples\shrlib.
However, R2006a loads the following files in shrlib:
shrlibsample.c
shrlibsample.h
shrlibsample.mexw32.csf
shrlibsample.mexw32
shrhelp.h
yprime.c
yprime.h
yprime.mexw32.csf
yprime.mexw32
No explicit DLL files exist in the directory
The document web([docroot,'/techdoc/matlab_external/f42387.html']) also states "The .dll file for the shrlibsample library resides in the directory, extern\examples\shrlib."
The document should specify that depending on the platform, the extension of the dynamic library shrlibsample changes. So, the documentation should read:
"The library file for the shrlibsample library resides in the directory extern\examples\shrlib. MATLAB selects the appropriate version for your platform. The MEXEXT function returns the file extension that is used on your platform. See the MEX function for a list of all extensions used by MATLAB"