ERROR while using model separation block

7 次查看(过去 30 天)
I am facing below error while using the model separation block.
rror Message #01424: Found Unsupported Data Type
The data type of the Inport In signal <unspecified>.MDL.MDL_xxx.,yyy_to_APCS:Misc.stStopVerbot_xyz_B
is set to ufix8_En7.

回答(1 个)

Shlok
Shlok 2024-8-9
Hi,
The error you're encountering is due to an unsupported data type being passed to a block in your Simulink model. In your case, the data type "ufix8_En7" is causing the issue.
This happens when the block's output data type is set to Inherit: Inherit via internal rule. Under this setting, Simulink automatically chooses a data type for the output based on its internal rules, which can sometimes result in an unexpected fixed-point data type, such as "ufix8_En7" (in this case).
To solve this problem, you can change the Output data type parameter to a setting that gives you more control over the data type. Follow the following steps to implement one such workaround:
  • Set the block's Output data type to “Inherit: Inherit via back propagation” to let downstream blocks determine the type.
  • Add a block specifically designed to set or convert the output signal's data type to one that suits your model's needs.
This option ensures that the block's output data type is determined by the requirements of downstream blocks, reducing the chance of selecting an unsuitable type.
For more information, you can refer to this answer:

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

标签

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by