Skip to content
Snippets Groups Projects
Commit cbb59f2d authored by leprob001's avatar leprob001
Browse files

Bugfix, the track parameter have been deleted after closing the window.

parent 17ff0b00
No related branches found
No related tags found
No related merge requests found
function [ ] = close() function [ ] = close(~, ~)
%CLOSEREQ Cleans up all variables that are used by the trackParameter GUI. %CLOSEREQ Cleans up all variables that are used by the trackParameter GUI.
% Changes to the data are dropped. % Changes to the data are dropped.
global artoaGui artoaWorkspace; global artoaGui;
%% Close the figure %% Close the figure
...@@ -12,7 +12,9 @@ delete(artoaGui.figures.trackParameter); ...@@ -12,7 +12,9 @@ delete(artoaGui.figures.trackParameter);
artoaGui = rmfield(artoaGui, 'trackParameter'); artoaGui = rmfield(artoaGui, 'trackParameter');
artoaGui.figures = rmfield(artoaGui.figures, 'trackParameter'); artoaGui.figures = rmfield(artoaGui.figures, 'trackParameter');
artoaWorkspace = rmfield(artoaWorkspace, 'trackParameter'); % Workspace is not cleaned, because we need the values after closing the
% window
%artoaWorkspace = rmfield(artoaWorkspace, 'trackParameter');
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment