view +mpm/load_state.m @ 22:29da718b8e7f

Add class for managing state file
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 18 Sep 2018 11:41:39 +0200
parents 2007c2cd566a
children
line wrap: on
line source

function s = load_state()
    try
        s = load(fullfile(mpm.install_location(), 'state'));
    catch
        s = struct();
    end
end