summaryrefslogtreecommitdiffstats
path: root/Tests/FindMatlab/cmake_matlab_unit_tests2.m
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/FindMatlab/cmake_matlab_unit_tests2.m')
-rw-r--r--Tests/FindMatlab/cmake_matlab_unit_tests2.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/FindMatlab/cmake_matlab_unit_tests2.m b/Tests/FindMatlab/cmake_matlab_unit_tests2.m
new file mode 100644
index 0000000..7a8a342
--- /dev/null
+++ b/Tests/FindMatlab/cmake_matlab_unit_tests2.m
@@ -0,0 +1,6 @@
+
+ret = cmake_matlab_mex1(rand(3,3));
+
+if(size(ret) ~= size(rand(3,3)))
+ error('Dimension mismatch!');
+end