Cannot find SoCData and rteEvent datatypes characteristics

3 次查看(过去 30 天)
Dear all,
I was trying to figure out the following about SoCData datatype:
1) What are its dimensions?
2) Is this real or complex signal?
Could you, please, help me to find information about this? Same qustion concerning rteEvent datatype. These datatypes are output datatypes or AXI4-Stream to Software block. I also had a feeling that these might be messages, not signals. Is this correct or not?

采纳的回答

Vinay
Vinay 2025-5-15
The "SoCData" datatype is an "AliasType" that creates an alias for the built-in "double" type. You can run "SoCData" in the MATLAB command window to view its properties.
The "rteEvent" datatype is a "bus" type with "DataScope" set to "auto". To see its properties, run "rteEvent" in the command window.
For more information, please refer to the documentation below.
  1. "AliasType": https://www.mathworks.com/help/releases/R2024b/simulink/slref/simulink.aliastype.html?searchPort=52130
  2. "bus": https://www.mathworks.com/help/releases/R2024b/simulink/slref/simulink.bus.html?searchPort=52130
I hope this helps.
  3 个评论
Sergei
Sergei 2025-5-15
Thank you
I just realized that I should have ran "SoCData" in command window with the model open (as aliases only exist when you create them, e.g. in model, it is not some general data type accessible everywhere in matlab)

请先登录,再进行评论。

更多回答(1 个)

Jerome Chevalier
Jerome Chevalier 2025-5-28
To add to @Vinay answer:
In SoC Blockset, SoCData is used as data type for message lines between FPGA and Processor blocks. SoCData is an alias to a double and it does not directly carry the value exchanged, but instead an id to an internal storage space (which is opaque and not visible to the user).
SoC Blockset blocks outputing SoCData must be connected to a SoC Blockset blocks accepting SoCData as input: For example, AXI4-Stream to Software block must be connected to Stream Read block.

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by