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

Updated save optimum values procedure.

parent 30eead9f
No related branches found
No related tags found
No related merge requests found
159 160
\ No newline at end of file \ No newline at end of file
...@@ -10,9 +10,12 @@ unfilteredB = artoa.data.getMember(artoaWorkspace, {'editOffsets', 'unfilteredB' ...@@ -10,9 +10,12 @@ unfilteredB = artoa.data.getMember(artoaWorkspace, {'editOffsets', 'unfilteredB'
A = artoa.data.getMember(artoaWorkspace, {'editOffsets', 'A'}, false); A = artoa.data.getMember(artoaWorkspace, {'editOffsets', 'A'}, false);
B = artoa.data.getMember(artoaWorkspace, {'editOffsets', 'B'}, false); B = artoa.data.getMember(artoaWorkspace, {'editOffsets', 'B'}, false);
X = artoa.data.getMember(artoaWorkspace, {'editOffsets', 'X'}, false); X = artoa.data.getMember(artoaWorkspace, {'editOffsets', 'X'}, false);
offsets = artoa.data.getMember(artoaWorkspace, {'editOffsets', 'offsets'}, false);
soundspeed = artoa.data.getMember(artoaWorkspace, {'editOffsets', 'soundspeed'}, false);
if islogical(unfilteredA) || islogical(unfilteredB) ... if islogical(unfilteredA) || islogical(unfilteredB) ...
|| islogical(A) || islogical(B) || islogical(X) || islogical(A) || islogical(B) || islogical(X) ...
|| islogical(offsets) || islogical(soundspeed)
errordlg('At least one of the matrices to save is not available. Please recalculate!', 'Matrices not found'); errordlg('At least one of the matrices to save is not available. Please recalculate!', 'Matrices not found');
return; return;
end end
...@@ -26,7 +29,7 @@ filter = artoa.data.getMember(artoaDataInput, {'ini', 'filemask', 'optimumtables ...@@ -26,7 +29,7 @@ filter = artoa.data.getMember(artoaDataInput, {'ini', 'filemask', 'optimumtables
filepath = fullfile(pathname, filename); filepath = fullfile(pathname, filename);
save(filepath, 'unfilteredA', 'unfilteredB', 'A', 'B', 'X'); save(filepath, 'unfilteredA', 'unfilteredB', 'A', 'B', 'X', 'offsets', 'soundspeed');
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