Spaces:
Sleeping
Sleeping
Tanguyvans
commited on
Commit
•
9373d80
1
Parent(s):
398d84b
bug fixing matlab
Browse files- .DS_Store +0 -0
- MATLAB/visualize_app.mlapp +0 -0
- MATLAB/visualize_connectedNodes_continuous.m +6 -0
.DS_Store
CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
|
|
MATLAB/visualize_app.mlapp
CHANGED
Binary files a/MATLAB/visualize_app.mlapp and b/MATLAB/visualize_app.mlapp differ
|
|
MATLAB/visualize_connectedNodes_continuous.m
CHANGED
@@ -18,6 +18,12 @@ function visualize_connectedNodes_continuous()
|
|
18 |
else
|
19 |
connectionsMap(char_node) = char_connectedNode;
|
20 |
end
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
end
|
22 |
|
23 |
% Loop for continuous interaction
|
|
|
18 |
else
|
19 |
connectionsMap(char_node) = char_connectedNode;
|
20 |
end
|
21 |
+
|
22 |
+
if isKey(connectionsMap, char_connectedNode)
|
23 |
+
connectionsMap(char_connectedNode) = [connectionsMap(char_connectedNode), '|', char_node];
|
24 |
+
else
|
25 |
+
connectionsMap(char_connectedNode) = char_node;
|
26 |
+
end
|
27 |
end
|
28 |
|
29 |
% Loop for continuous interaction
|