Why do signals from "under-specified data types" diagnostic not use the data type specified under "default for underspecified data type" in Simulink R2026a?
Show older comments
I have enabled the "Underspecified data types" diagnostic action in Simulink R2026a to give a warning in order to identify underspecified signals in my model. I can successfully see them in the following warning message:
The data types for some signals in this model are under-specified. Simulink is using a heuristic to select these data types. The heuristic leads to reasonable choices in most cases. Usage of the heuristic can be avoided by setting signal data types using Signal Specification blocks or signal objects. The list of signals with under-specified data types are:
Caused by:
Signal with under-specified data types: 'Input Port 3' of '<model_name>'.
Signal with under-specified data types: 'Input Port 1' of '<model_name>/<subsystem_name>'.
Signal with under-specified data types: 'Input Port 2' of '<model_name>/<subsystem_name>'.
I would then expect these under-specified signals to see the data type that I defined under the "Default for underspecified data type" configuration parameter. However, the under-specified signals do not always use that data type.
Why is this happening and is this expected?
Accepted Answer
More Answers (0)
Categories
Find more on Data Types in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!