use map data structure with simulink -android
조회 수: 3 (최근 30일)
이전 댓글 표시
i used this:
map=containers.Map(5.5,1);
and i get this error :

please any help of how to use maps with simulink .
댓글 수: 0
답변 (2개)
Karan Singh
2025년 2월 5일
You can try including a "MATLAB Function" block and placing your code within it. This might help resolve the issue. Since you haven't provided more context, it's difficult for me to offer a more specific solution. However, this could be a possible workaround.
You can refer to this link for more details: https://in.mathworks.com/help/simulink/ug/what-is-a-matlab-function-block.html
Karan
댓글 수: 0
Walter Roberson
2025년 2월 5일
Containers.map data structures cannot be output from Simulink blocks.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!