Variables
FindMATLAB.cmake File Reference

Find MATLAB installation. More...

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

Go to the source code of this file.

Variables

cmake _MATLAB_EXECUTABLE_NAMES
 
cmake _MATLAB_LIBRARY_NAMES
 
cmake _MATLAB_OPTIONAL_EXECUTABLE_NAMES
 
cmake _MATLAB_OPTIONAL_LIBRARY_NAMES
 
cmake MATLAB_DIR
 
cmake MATLAB_FOUND
 
cmake MATLAB_INCLUDE_DIRS
 
cmake MATLAB_INCLUDES
 
cmake MATLAB_LIBRARIES
 
cmake MATLAB_PATH_SUFFIXES
 

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_FIND_COMPONENTS The 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", "eng" or "libeng", "libmwmclmcr" or "mwmclmcr", and "libmwmclmcrrt" or "mwmclmcrrt".
MATLAB_FIND_OPTIONAL_COMPONENTS The OPTIONAL_COMPONENTS argument(s) of the find_package() command. See MATLAB_FIND_COMPONENTS.
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/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.
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_VERSION_STRING Version of the found matlab executable (e.g., 7.14.0).
MATLAB_VERSION_MAJOR Major version of the found matlab executable (e.g., 7).
MATLAB_VERSION_MINOR Minor version of the found matlab executable (e.g., 14).
MATLAB_VERSION_PATCH Patch of the found matlab executable (e.g., 0).
MATLAB_RELEASE Release version of the found matlab executable (e.g., R2012a).
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_LIBRARY_DIR Directory containing the MATLAB 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_mwmclmcr_LIBRARY The MATLAB Compiler library.
MATLAB_mwmclmcrrt_LIBRARY The MATLAB Compiler runtime library.
MATLAB_LIBRARY All MATLAB libraries excluding mwmclmcrrt.
MATLAB_LIBRARIES Package libraries and prerequisite libraries.

Definition in file FindMATLAB.cmake.

Variable Documentation

§ _MATLAB_EXECUTABLE_NAMES

cmake _MATLAB_EXECUTABLE_NAMES

Definition at line 214 of file FindMATLAB.cmake.

§ _MATLAB_LIBRARY_NAMES

cmake _MATLAB_LIBRARY_NAMES

Definition at line 216 of file FindMATLAB.cmake.

§ _MATLAB_OPTIONAL_EXECUTABLE_NAMES

cmake _MATLAB_OPTIONAL_EXECUTABLE_NAMES

Definition at line 215 of file FindMATLAB.cmake.

§ _MATLAB_OPTIONAL_LIBRARY_NAMES

cmake _MATLAB_OPTIONAL_LIBRARY_NAMES

Definition at line 217 of file FindMATLAB.cmake.

§ MATLAB_DIR

cmake MATLAB_DIR

Definition at line 130 of file FindMATLAB.cmake.

§ MATLAB_FOUND

cmake MATLAB_FOUND

Definition at line 402 of file FindMATLAB.cmake.

§ MATLAB_INCLUDE_DIRS

cmake MATLAB_INCLUDE_DIRS

Definition at line 348 of file FindMATLAB.cmake.

§ MATLAB_INCLUDES

cmake MATLAB_INCLUDES

Definition at line 345 of file FindMATLAB.cmake.

§ MATLAB_LIBRARIES

cmake MATLAB_LIBRARIES

Definition at line 346 of file FindMATLAB.cmake.

§ MATLAB_PATH_SUFFIXES

cmake MATLAB_PATH_SUFFIXES

Definition at line 157 of file FindMATLAB.cmake.