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

Bugfix, the save methods did not return if the putfile dialog has been cancelled.

parent 43701fd6
No related branches found
No related tags found
No related merge requests found
275
\ No newline at end of file
276
\ No newline at end of file
......@@ -11,6 +11,10 @@ filter = artoa.data.getMember(artoaConfig, {'filemask', 'interim'}, '*.itm');
%% Ask for filename
[filename, pathname] = uiputfile(fullfile(folder, filter));
if filename == 0
return;
end
filepath = fullfile(pathname, filename);
%% Remove path_rfb
......
......@@ -28,6 +28,10 @@ filter = artoa.data.getMember(artoaConfig, {'filemask', 'optimumtables'}, '*.mat
%% Ask for filename
[filename, pathname] = uiputfile(fullfile(folder, filter));
if filename == 0
return;
end
filepath = fullfile(pathname, filename);
save(filepath, 'unfilteredA', 'unfilteredB', 'A', 'B', 'X', 'D', 'offsets', 'soundspeed');
......
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