BASIS  version 1.2.3 (revision 2104)
FindMATLAB.cmake File Reference

Find MATLAB installation. More...

#include "FindPackageHandleStandardArgs"
+ Include dependency graph for FindMATLAB.cmake:

Go to the source code of this file.


Detailed Description

Find MATLAB installation.

Input variables:
MATLAB_DIR The installation directory of MATLAB. Can also be set as environment variable.
MATLABDIR Alternative environment variable for MATLAB_DIR.
MATLAB_PATH_SUFFIXES 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 MATLAB_DIR/bin/glna64. 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.
Output variables:
MATLAB_FOUND Whether the package was found and the following CMake variables are valid.
MATLAB_EXECUTABLE The absolute path of the found matlab executable.
MATLAB_MCC_EXECUTABLE The absolute path of the found MATLAB Compiler (mcc) executable.
MATLAB_MEX_EXECUTABLE The absolute path of the found MEX script (mex) executable.
MATLAB_MEXEXT_EXECUTABLE The absolute path of the found mexext script executable.
MATLAB_INCLUDE_DIR Package include directories.
MATLAB_INCLUDES Include directories including prerequisite libraries.
MATLAB_mex_LIBRARY The MEX library of MATLAB.
MATLAB_mx_LIBRARY The mx library of MATLAB.
MATLAB_eng_LIBRARY The MATLAB engine library.
MATLAB_LIBRARY All MATLAB libraries.
MATLAB_LIBRARIES Package libraries and prerequisite libraries.

Copyright (c) 2011, 2012 University of Pennsylvania. All rights reserved.
See https://www.cbica.upenn.edu/sbia/software/license.html or COPYING file.

Contact: SBIA Group <sbia-software at uphs.upenn.edu>

Definition in file FindMATLAB.cmake.