I need to use containers.Map()
to convert some MATLAB code to Octave. I see in the GNU Octave bug tracker #49559 that containers.Map()
has been implemented, but I am still getting error: 'containers' undefined
when I try to use it. Is this functionality available in the current release builds, and if so how should I access it?
Since the new functionality is written as .m file you can just download the file and insert it into your existing 4.2.x installation.
You are not mentioning if you are using GNU Octave on GNU/Linux or windoze so I assume GNU/Linux here:
voilá, Map in OCtave 4.2.1:
octave:1> ver
GNU Octave Version: 4.2.1
...
octave:2> containers.Map
ans =
containers.Map object with properties:
Count : 0
KeyType : char
ValueType : any
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With