Skip to content

Commit ee4a497

Browse files
committed
[matlab] Refactor Primer for Section.properties
1 parent b51b351 commit ee4a497

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/Primer.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@
7373
sec = f.sections{2}.sections{1};
7474

7575
% display all Section properties
76-
cellfun(@(x) disp(x), sec.allProperties);
76+
cellfun(@(x) disp(x), sec.properties);
7777

7878
% get a certain Value by index
79-
value = sec.allProperties{1}.values{1};
79+
value = sec.properties{1}.values{1};
8080

8181
% or by name
8282
value = sec.open_property('Name').values{1}.value;

0 commit comments

Comments
 (0)