Why does my Hashtable with string keys not work as expected in MATLAB?
Show older comments
I have the following code in Java:
Hashtable hash =new Hashtable();
hash.put("a", "aa");
hash.put("b", "bb");
I then pass that object back to MATLAB and try to access those elements in the Hashtable:
hash
a=hash.get('a')
b=hash.get('b')
hash.put('d','dddddd');
Accepted Answer
More Answers (0)
Categories
Find more on Deploy to Java Applications Using MWArray Data API in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!