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!