Skip to content
Snippets Groups Projects
Commit 5b845747 authored by Lemmer, Jan's avatar Lemmer, Jan
Browse files

add manual file location

parent 7020e2a2
Branches
Tags
2 merge requests!13PreRelease_V0.1,!12PreRelease_V0.1
......@@ -13,7 +13,7 @@ arguments
DataPaths
ID (1,:) {mustBeNonzeroLengthText} % ID must be provided
figure (1,:) {mustBeFigure} % Checks if figure is a figure object
options.Location {mustBeMember(options.Location ,{'local','server','CI-Test'})} = 'local' % storage path
options.Location {mustBeMember(options.Location ,{'local','server','manual','CI-Test'})} = 'local' % storage path
options.Method {mustBeMember(options.Method ,{'individual','centralized'})} = 'individual'
options.ParentFolder (1,:) {mustBeText} = 'export'
options.CopyUserFCN (1,1) {mustBeNumericOrLogical} = true
......@@ -42,6 +42,8 @@ switch options.Location
txt = fileread('config.json');
config = jsondecode(txt);
storPath = config.ServerPath;
case 'manual' %UI
storPath = uigetdir();
case 'CI-Test'
storPath = fullfile(pwd,'CI_files',options.ParentFolder);
end
......
......
function [status, id] = fileCompare(filename,fileList)
%fileCompare checks if file1 is (binary) identical to a file in filelist
% it returns a sttus and the id of the identical file
% the functions uses the windows system function fc or the unix function
% the function uses the windows system function fc or the unix function
% diff
if isempty(fileList)
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment