Simulink DDS Blockset: problem with sequence <string> in topic
显示 更早的评论
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.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with DDS Blockset 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!