mirror of
https://github.com/reactos/CMake.git
synced 2024-12-05 02:06:34 +00:00
49c8dcf7bb
Implement a brand new FindMatlab module: - Add support for versions and components. - Find Matlab and its version in a more precise and multiplatform way. - Add API to create a new mex extension with documentation. - Add API to add matlab unit tests (with or without the unit test framework). - Find as much as possible based on a single Matlab_ROOT_DIR cache entry and allow the user to change it to re-find everything.
7 lines
107 B
Matlab
7 lines
107 B
Matlab
|
|
ret = cmake_matlab_mex1(rand(3,3));
|
|
|
|
if(size(ret) ~= size(rand(3,3)))
|
|
error('Dimension mismatch!');
|
|
end
|