RosettaCodeData/Task/Associative-array-Creation/MATLAB/associative-array-creation-2.m
2026-04-30 12:34:36 -04:00

4 lines
116 B
Objective-C

hash = [];
hash = setfield(hash,'a',1);
hash = setfield(hash,'b',2);
hash = setfield(hash,'C',[3,4,5]);