use map data structure with simulink -android

2 Ansichten (letzte 30 Tage)
batool alsulh
batool alsulh am 13 Jun. 2020
Beantwortet: Walter Roberson am 5 Feb. 2025
i used this:
map=containers.Map(5.5,1);
and i get this error :
please any help of how to use maps with simulink .

Antworten (2)

Karan Singh
Karan Singh am 5 Feb. 2025
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.
Karan

Walter Roberson
Walter Roberson am 5 Feb. 2025
Containers.map data structures cannot be output from Simulink blocks.
The newer dictionary data type also cannot be output from Simulink blocks.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by