Matlab Bug? cell array of containers.Map
이전 댓글 표시
I have two expressions. In my opinion, both are equal. But one works, the other causes a matlab error.
for your info: obj.TabData is a 2×1 cell array [103×1 containers.Map] [163×1 containers.Map]
expression 1)
mapObj = obj.TabData{1}
causes "Expected one output from a curly brace or dot indexing expression, but there were 3 results."
expression 2)
temp = obj.TabData;
mapObj = temp{1};
works. mapObj is Map with properties: Count: 103 KeyType: char ValueType: any afterwards.
Is this a Matlab Bug? Or can anyone explain this behavior, please?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!