Simulink DDS Blockset: problem with sequence <string> in topic
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Get Started with DDS Blockset dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!