Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
plotID_matlab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
plotID
plotID_matlab
Commits
d8ce3500
Commit
d8ce3500
authored
3 years ago
by
M. Hock
Browse files
Options
Downloads
Patches
Plain Diff
fix missing semicolon causing an unwanted output
parent
82e765c1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!62
Introduce changes for V1.0 RC 1
,
!53
Dev/datapath handle nestedcellarrays
Pipeline
#650423
passed
3 years ago
Stage: Run
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
+PlotID/@dataPath/dataPath.m
+4
-2
4 additions, 2 deletions
+PlotID/@dataPath/dataPath.m
with
4 additions
and
2 deletions
+PlotID/@dataPath/dataPath.m
+
4
−
2
View file @
d8ce3500
...
...
@@ -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
)]);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment