Handle missing or dysfunctional MEX files on Matlab or Octave.
Assert Mex is useful for detecting the error condition when a .m help
file is mistakenly executed because the correspondig .mex file is
missing. When foo.mex is missing, MATLAB silently executes the help file
foo.m instead. Calling AssertMex within foo.m detects and reports that
error. E.g., in Screen.m you’ll find AssertMex(‘Screen.m’) to handle
missing or dysfunctional Screen mex files properly.