ERROR while using model separation block

4 visualizzazioni (ultimi 30 giorni)
amit
amit il 29 Set 2023
Risposto: Shlok il 9 Ago 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.

Risposte (1)

Shlok
Shlok il 9 Ago 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:

Categorie

Scopri di più su Modeling in Help Center e File Exchange

Tag

Prodotti


Release

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by