made no plotting flag for better performance and unit testing

This commit is contained in:
2025-12-24 16:20:57 -08:00
parent 843e5ba574
commit 1d11ac4e90
6 changed files with 33 additions and 7 deletions

View File

@@ -6,6 +6,13 @@ function obj = plotPerformance(obj)
obj (1, 1) {mustBeA(obj, 'miSim')};
end
% fast exit when plotting is disabled
if ~obj.makePlots
return;
end
obj.fPerf = figure;
axes(obj.fPerf);
title(obj.fPerf.Children(1), "Sensor Performance");
xlabel(obj.fPerf.Children(1), 'Time (s)');