Skip to content
Snippets Groups Projects
Commit 3900e2c6 authored by giuliaghirardini's avatar giuliaghirardini
Browse files

[msa-refactoring][classes] Preliminar implementation of settings class (still WIP)

parent adbbfe0a
No related branches found
No related tags found
1 merge request!2Final data structure
classdef Settings < Config & dynamicprops
% Settings: Class for managing settings
properties
name % Mission name, used to access <mission> folder
currentPath
end
properties(Dependent)
configPath
dataPath
end
methods
function obj = Settings()
% Constructor
obj = obj@Config(); % Call superclass constructor
end
function value = get.configPath(obj)
value = fullfile(obj.currentPath, obj.name, 'config');
end
function value = get.dataPath(obj)
value = fullfile(obj.currentPath, obj.name, 'data');
end
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment