Simulink DDS Blockset: problem with sequence <string> in topic
Show older comments
Hello,
I need a Simulink model to subscribe to a DDS topic with a data type which contains a vector of strings (sequence <string> in the idl file).
The data type representation in DDS library from the .sldd file is shown here:

I created a topic with this data type and then tried to compile a minimal simulink model with it:

This gave me the compile error "Non-scalar string signals are not supported".
To exclude other sources of error, I tried the same thing after deleting the string array from the data type definition. With that, the model compiled, additionally a drop down menu showing the sub-elements of the data type appeard in the properties editor.
Is there a workaround for this? Or does this mean that a simulink application with DDS Blockset simply can't subscribe to a DDS topic containing a sequence of strings (which would certainly be a bug)?
I would be very grateful if this could be clarified.
Accepted Answer
More Answers (0)
Categories
Find more on Get Started with DDS Blockset 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!