gtsam/wrap/tests/testMemory.m

8 lines
151 B
Matlab

%MATLAB testing file for memory allocation and leaks
%Andrew Melim
addpath([pwd,'/../../../toolbox/gtsam']);
for i=1:100000
p = gtsamPoint2()
end