use map data structure with simulink -android
Show older comments
i used this:
map=containers.Map(5.5,1);
and i get this error :

please any help of how to use maps with simulink .
Answers (2)
Karan Singh
on 5 Feb 2025
0 votes
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
Walter Roberson
on 5 Feb 2025
0 votes
Containers.map data structures cannot be output from Simulink blocks.
Categories
Find more on Android Devices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!