2012-02-07 03:45:40 +08:00
|
|
|
% automatically generated by wrap
|
2011-10-14 02:41:56 +08:00
|
|
|
echo on
|
|
|
|
|
2011-11-04 23:10:38 +08:00
|
|
|
toolboxpath = mfilename('fullpath');
|
2012-05-30 03:29:29 +08:00
|
|
|
delims = find(toolboxpath == '/' | toolboxpath == '\');
|
2011-11-04 23:10:38 +08:00
|
|
|
toolboxpath = toolboxpath(1:(delims(end)-1));
|
|
|
|
clear delims
|
2011-10-14 02:41:56 +08:00
|
|
|
addpath(toolboxpath);
|
|
|
|
|
2011-10-22 03:29:50 +08:00
|
|
|
%% Point2
|
2011-10-14 02:41:56 +08:00
|
|
|
cd(toolboxpath)
|
2012-07-03 02:18:11 +08:00
|
|
|
mex -O5 new_Point2.cpp
|
2011-10-14 02:41:56 +08:00
|
|
|
|
|
|
|
cd @Point2
|
|
|
|
mex -O5 x.cpp
|
|
|
|
mex -O5 y.cpp
|
|
|
|
mex -O5 dim.cpp
|
2012-01-24 02:28:11 +08:00
|
|
|
mex -O5 returnChar.cpp
|
|
|
|
mex -O5 argChar.cpp
|
2012-05-05 02:50:36 +08:00
|
|
|
mex -O5 argUChar.cpp
|
2011-12-07 11:05:37 +08:00
|
|
|
mex -O5 vectorConfusion.cpp
|
2011-10-14 02:41:56 +08:00
|
|
|
|
2011-10-22 03:29:50 +08:00
|
|
|
%% Point3
|
2011-10-14 02:41:56 +08:00
|
|
|
cd(toolboxpath)
|
2012-07-03 02:18:11 +08:00
|
|
|
mex -O5 new_Point3.cpp
|
2011-12-07 11:05:30 +08:00
|
|
|
mex -O5 Point3_staticFunction.cpp
|
|
|
|
mex -O5 Point3_StaticFunctionRet.cpp
|
2011-10-14 02:41:56 +08:00
|
|
|
|
|
|
|
cd @Point3
|
|
|
|
mex -O5 norm.cpp
|
|
|
|
|
2011-10-22 03:29:50 +08:00
|
|
|
%% Test
|
2011-10-14 02:41:56 +08:00
|
|
|
cd(toolboxpath)
|
2012-07-03 02:18:11 +08:00
|
|
|
mex -O5 new_Test.cpp
|
2011-10-14 02:41:56 +08:00
|
|
|
|
|
|
|
cd @Test
|
2011-12-07 11:05:33 +08:00
|
|
|
mex -O5 return_pair.cpp
|
2011-10-14 02:41:56 +08:00
|
|
|
mex -O5 return_bool.cpp
|
|
|
|
mex -O5 return_size_t.cpp
|
|
|
|
mex -O5 return_int.cpp
|
|
|
|
mex -O5 return_double.cpp
|
|
|
|
mex -O5 return_string.cpp
|
|
|
|
mex -O5 return_vector1.cpp
|
|
|
|
mex -O5 return_matrix1.cpp
|
|
|
|
mex -O5 return_vector2.cpp
|
|
|
|
mex -O5 return_matrix2.cpp
|
2011-12-07 11:05:37 +08:00
|
|
|
mex -O5 arg_EigenConstRef.cpp
|
2011-10-14 02:41:56 +08:00
|
|
|
mex -O5 return_field.cpp
|
|
|
|
mex -O5 return_TestPtr.cpp
|
2011-12-07 11:05:33 +08:00
|
|
|
mex -O5 return_Test.cpp
|
2011-12-02 06:06:03 +08:00
|
|
|
mex -O5 return_Point2Ptr.cpp
|
2011-10-14 02:41:56 +08:00
|
|
|
mex -O5 create_ptrs.cpp
|
2011-12-07 11:05:33 +08:00
|
|
|
mex -O5 create_MixedPtrs.cpp
|
2011-10-14 02:41:56 +08:00
|
|
|
mex -O5 return_ptrs.cpp
|
|
|
|
mex -O5 print.cpp
|
|
|
|
|
|
|
|
cd(toolboxpath)
|
|
|
|
|
|
|
|
echo off
|