diff --git a/VERSION b/VERSION index b00047941afd37ac16c62df40f468f10bab537a1..9da06a18339c312235ed2a16c054f2bb70981398 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -159 \ No newline at end of file +160 \ No newline at end of file diff --git a/lib/+artoa/+controller/+file/saveOptimumTables.m b/lib/+artoa/+controller/+file/saveOptimumTables.m index 2028b3a21be15bf87cbba22227bdc7523846bb20..9c483b2f1c27da9ef61dc402614c28957596ae73 100644 --- a/lib/+artoa/+controller/+file/saveOptimumTables.m +++ b/lib/+artoa/+controller/+file/saveOptimumTables.m @@ -10,9 +10,12 @@ unfilteredB = artoa.data.getMember(artoaWorkspace, {'editOffsets', 'unfilteredB' A = artoa.data.getMember(artoaWorkspace, {'editOffsets', 'A'}, false); B = artoa.data.getMember(artoaWorkspace, {'editOffsets', 'B'}, 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) ... - || 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'); return; end @@ -26,7 +29,7 @@ filter = artoa.data.getMember(artoaDataInput, {'ini', 'filemask', 'optimumtables filepath = fullfile(pathname, filename); -save(filepath, 'unfilteredA', 'unfilteredB', 'A', 'B', 'X'); +save(filepath, 'unfilteredA', 'unfilteredB', 'A', 'B', 'X', 'offsets', 'soundspeed'); end