Auswertung Experiment
Database tüddelei DBHanlder läuft gut für DIESE Datanbank struktur... App begonnen aber weit entfernt von gutem Stand
This commit is contained in:
11
Libs/mat2tikz/test/private/restoreGlobalState.m
Normal file
11
Libs/mat2tikz/test/private/restoreGlobalState.m
Normal file
@@ -0,0 +1,11 @@
|
||||
function restoreGlobalState(orig)
|
||||
% Restore original properties of global state.
|
||||
% See #542 and #552
|
||||
fprintf('Restore global state...\n');
|
||||
|
||||
% Restore relevant properties
|
||||
state_fields = fieldnames(orig);
|
||||
for i = 1:length(state_fields)
|
||||
set(0, state_fields{i}, orig.(state_fields{i}).val);
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user