Skip to content
Snippets Groups Projects
Commit 43a23c29 authored by Hock, Martin's avatar Hock, Martin
Browse files

Merge branch 'dev/datapath-handle-nestedcellarrays' into 'development'

Dev/datapath handle nestedcellarrays

See merge request !53
parents 72f78c3e d8ce3500
No related branches found
No related tags found
2 merge requests!62Introduce changes for V1.0 RC 1,!53Dev/datapath handle nestedcellarrays
Pipeline #650389 passed
......@@ -23,8 +23,10 @@ classdef dataPath < handle
% handle nested cell arrays
while any(cellfun(@iscell,inputPaths))
inputPaths = [inputPaths{cellfun(@iscell,inputPaths)} inputPaths(~cellfun(@iscell,inputPaths))]
while any(cellfun(@iscell,inputPaths)) % while any of the cells contain cells
% concatenate the content of the cells containing cells
% with the ones that don't contain cells
inputPaths = [inputPaths{cellfun(@iscell,inputPaths)} inputPaths(~cellfun(@iscell,inputPaths))];
end
isStruct = false([1,numel(inputPaths)]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment