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

Bugfix, save interim saved to the wrong destination.

parent e99b8d32
No related branches found
No related tags found
No related merge requests found
......@@ -9,10 +9,14 @@ folder = artoa.data.getMember(artoaDataInput, {'ini', 'directory', 'interim'}, p
filter = artoa.data.getMember(artoaDataInput, {'ini', 'filemask', 'interim'}, '*.itm');
%% Ask for filename
filename = uiputfile(fullfile(folder, filter));
[filename, pathname] = uiputfile(fullfile(folder, filter));
if (filename ~= 0)
filepath = fullfile(pathname, filename);
if isfile(filepath)
save(filename, 'artoaWorkspace', 'artoaDataInput', 'artoaDataOutput');
else
warning([mfilename ': Save interim file failed because the selected file is not a file!']);
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