summaryrefslogtreecommitdiff
path: root/Examples/test-suite/matlab/unions_runme.m
diff options
context:
space:
mode:
authorJoel Andersson <j.a.e.andersson@gmail.com>2016-07-12 11:02:46 -0500
committerJoel Andersson <j.a.e.andersson@gmail.com>2016-07-12 11:02:46 -0500
commit32ef224663d252f7edde5bcb69a9aeb0f3d6571f (patch)
treef650ef77423f13272b4eadb89dd5535b602c36bd /Examples/test-suite/matlab/unions_runme.m
parent88a427ddb5fbbe42f0c48e8d7955c2112b7559f3 (diff)
downloadswig-32ef224663d252f7edde5bcb69a9aeb0f3d6571f.tar.gz
Issue #51: Removed subsref, subsasgn from SwigRef.m
The current solution is so hacky that it's better for users to add it themselves using %matlabcode
Diffstat (limited to 'Examples/test-suite/matlab/unions_runme.m')
-rw-r--r--Examples/test-suite/matlab/unions_runme.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/test-suite/matlab/unions_runme.m b/Examples/test-suite/matlab/unions_runme.m
index 06e2b415d..00ea561aa 100644
--- a/Examples/test-suite/matlab/unions_runme.m
+++ b/Examples/test-suite/matlab/unions_runme.m
@@ -14,7 +14,7 @@ big.jack(300);
eut = unions.EmbeddedUnionTest();
% First check the SmallStruct in EmbeddedUnionTest
-eut.number = 1;
+eut.number(1);
eut.uni.small(small);
Jill1 = eut.uni.small.jill;
if (Jill1 ~= 200)