poster
2019-12-10, 20:48
我试过了:
new_map = containers.Map('KeyType', 'double', 'ValueType', 'double') 但这不起作用。我需要一张从双打到双打的地图。
.??? No constructor 'containers.Map' with matching signature found.
回答:
对于matlab的2010a之前版本,请尝试以下变通办法。
key1 = 1.0; val1 = 1.0; mapObj = containers.Map(key1, val1); remove(mapObj, key1);
更多&回答... (https://stackoverflow.com/questions/3744085)
new_map = containers.Map('KeyType', 'double', 'ValueType', 'double') 但这不起作用。我需要一张从双打到双打的地图。
.??? No constructor 'containers.Map' with matching signature found.
回答:
对于matlab的2010a之前版本,请尝试以下变通办法。
key1 = 1.0; val1 = 1.0; mapObj = containers.Map(key1, val1); remove(mapObj, key1);
更多&回答... (https://stackoverflow.com/questions/3744085)