CSV parametric testing
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
function teardown(obj)
|
||||
function obj = teardown(obj)
|
||||
arguments (Input)
|
||||
obj (1, 1) {mustBeA(obj, 'miSim')};
|
||||
end
|
||||
arguments (Output)
|
||||
obj (1, 1) {mustBeA(obj, 'miSim')};
|
||||
end
|
||||
|
||||
% Close plots
|
||||
@@ -10,4 +11,13 @@ function teardown(obj)
|
||||
close(obj.fPerf);
|
||||
close(obj.f);
|
||||
|
||||
% Reset accumulators
|
||||
obj.performance = 0;
|
||||
|
||||
% Reset agents
|
||||
for ii = 1:size(obj.agents, 1)
|
||||
obj.agents{ii} = agent;
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user