ERROR while using model separation block

8 views (last 30 days)
amit
amit on 29 Sep 2023
Answered: Shlok on 9 Aug 2024
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.

Answers (1)

Shlok
Shlok on 9 Aug 2024
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:

Categories

Find more on Modeling in Help Center and File Exchange

Tags

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!