view notes.txt @ 41:17ac3ce49b55 default tip

Add todo
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 23 Jun 2025 15:25:27 +0200
parents 769d1d252a3c
children
line wrap: on
line source

# TODO
Add tests
Remove use of savepath. We shouldn't be messing with the saved state. Restarting matlab should remove all effects of using mpm

# DESIGN
Actions
 - load # Load a given path into the state file and the matlab path and do savepath(), atomically
 - unload # opposite of load
 - status # show all loaded paths, mimicing the order they are added to the matlab path, if project file is present, show which paths are active
 - checkin # load all paths in a project file
 - checkout # unload all paths in a project file
 - clear # unload all paths, should return the matlab path to the way it was before any loads.
 - verify # Check if the current proejct settings are correct
            % The right version is in the path
            % The right version is at the top of the path
            %
            % Useful to put at the top of some scripts


# TBD
Do we want a function for just adding any folder to the matlab path through this?
Do we want functions for adding folders to the project file from the matlab console?