Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,3 @@
|
|||
hash.a = 1;
|
||||
hash.b = 2;
|
||||
hash.C = [3,4,5];
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
hash = [];
|
||||
hash = setfield(hash,'a',1);
|
||||
hash = setfield(hash,'b',2);
|
||||
hash = setfield(hash,'C',[3,4,5]);
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
hash.('a') = 1;
|
||||
hash.('b') = 2;
|
||||
hash.('C') = [3,4,5];
|
||||
|
|
@ -0,0 +1 @@
|
|||
m = containers.Map({'a' 'b' 'C'}, [1 2 3]);
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
m = containers.Map;
|
||||
m('a') = 1;
|
||||
m('b') = 2;
|
||||
m('C') = 3;
|
||||
|
|
@ -0,0 +1 @@
|
|||
m = containers.Map([51 72 37], {'fiftyone' 'seventytwo' 'thirtyseven'});
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
m = containers.Map('KeyType', 'double', 'ValueType', 'any');
|
||||
m(51) = 'fiftyone';
|
||||
m(72) = 'seventytwo';
|
||||
m(37) = 'thirtyseven';
|
||||
Loading…
Add table
Add a link
Reference in a new issue