Commit da87a8b3 authored by Jesse Heckman's avatar Jesse Heckman
Browse files

debugging

parent 29929a55
......@@ -37,7 +37,7 @@ function pb_vEndExp
leds.write(t);
leds.trigger;
delete([leds,t]);
pb_delobj(leds,t);
end
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
......
......@@ -113,7 +113,7 @@ function pb_vRunExp(handles)
pb_vStoreData(handles.cfg, Dat);
pb_vInitialize(handles, false);
delete([ses, rc, str]);
pb_delobj(ses, rc, str);
toc(expTime);
end
......
function pb_delobj(varargin)
% PB_DELOBJ
%
% PB_DELOBJ(varargin) will delete all objects parsed.
%
% See also DELETE
% PBToolbox (2018): JJH: j.heckman@donders.ru.nl
if nargin == 0; return; end
for idx = 1:length(varargin)
delete(varargin{1});
end
end
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
% %
% Part of Programmeer Beer Toolbox (PBToolbox) %
% Written by: Jesse J. Heckman (2018) %
% %
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment