##############################################################################
# @file FindMATLAB.cmake
# @brief Find MATLAB installation.
#
# @par Input variables:
#
#
# @tp @b MATLAB_DIR @endtp
# | The installation directory of MATLAB.
# Can also be set as environment variable. |
#
#
# @tp @b MATLABDIR @endtp
# | Alternative environment variable for @p MATLAB_DIR. |
#
#
# @tp @b MATLAB_FIND_COMPONENTS @endtp
# | The @c COMPONENTS argument(s) of the find_package() command can
# be used to only look for specific MATLAB executables and libraries.
# Valid component values are "matlab", "mcc", "mexext", "mex",
# "libmex", "mx" or "libmx", and "eng" or "libeng". |
#
#
# @tp @b MATLAB_FIND_OPTIONAL_COMPONENTS @endtp
# | The @c OPTIONAL_COMPONENTS argument(s) of the find_package() command.
# See @c MATLAB_FIND_COMPONENTS. |
#
#
# @tp @b MATLAB_PATH_SUFFIXES @endtp
# | Path suffixes which are used to find the proper MATLAB libraries.
# By default, this find module tries to determine the path suffix
# from the CMake variables which describe the system. For example,
# on 64-bit Unix-based systems, the libraries are searched in
# @p MATLAB_DIR/bin/glnxa64. Set this variable before the
# find_package() command if this find module fails to
# determine the correct location of the MATLAB libraries within
# the root directory. |
#
#
#
# @par Output variables:
#
#
# @tp @b MATLAB_FOUND @endtp
# | Whether the package was found and the following CMake
# variables are valid. |
#
#
# @tp @b MATLAB_EXECUTABLE @endtp
# | The absolute path of the found matlab executable. |
#
#
# @tp @b MATLAB_MCC_EXECUTABLE @endtp
# | The absolute path of the found MATLAB Compiler (mcc) executable. |
#
#
# @tp @b MATLAB_MEX_EXECUTABLE @endtp
# | The absolute path of the found MEX script (mex) executable. |
#
#
# @tp @b MATLAB_MEXEXT_EXECUTABLE @endtp
# | The absolute path of the found mexext script executable. |
#
#
# @tp @b MATLAB_INCLUDE_DIR @endtp
# | Package include directories. |
#
#
# @tp @b MATLAB_INCLUDES @endtp
# | Include directories including prerequisite libraries. |
#
#
# @tp @b MATLAB_mex_LIBRARY @endtp
# | The MEX library of MATLAB. |
#
#
# @tp @b MATLAB_mx_LIBRARY @endtp
# | The @c mx library of MATLAB. |
#
#
# @tp @b MATLAB_eng_LIBRARY @endtp
# | The MATLAB engine library. |
#
#
# @tp @b MATLAB_LIBRARY @endtp
# | All MATLAB libraries. |
#
#
# @tp @b MATLAB_LIBRARIES @endtp
# | Package libraries and prerequisite libraries. |
#
#
#
# Copyright (c) 2011, 2012 University of Pennsylvania. All rights reserved.