Skip to content

Commit 4b6f942

Browse files
committed
[matlab] SourcesMixIn openByIdx function
1 parent 27d7f4a commit 4b6f942

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

+nix/SourcesMixIn.m

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@
5454
@nix.Source);
5555
end
5656

57+
function retObj = open_source_idx(obj, idx)
58+
retObj = nix.Utils.open_entity(obj, ...
59+
strcat(obj.alias, '::openSourceIdx'), idx, @nix.Source);
60+
end
61+
5762
end
5863

5964
end

0 commit comments

Comments
 (0)