%Copyright 2019 The MathWorks, Inc.

% resave harness options for window and canvas adjustments
% enable or comment out the statements below to match your requirements
% this file must be named "startup_callback.m" and be located in your "internal"
% folder

function cleanup = startup_callback()
    cleanup = onCleanup(@() clear_window_position_vars);
    % disables all  manipulations of size or zoom
    assignin('base', 'skip_adjust_window_positions', true);  
end


function clear_window_position_vars()
    evalin('base', 'clear skip_adjust_window_positions');
end
