How to fix "Signal Dimension" error message ?

9 vues (au cours des 30 derniers jours)
THASVINTHIRAN
THASVINTHIRAN le 25 Juin 2024
Dear friends, I get the following message when I run my simulink model."Unable to determine signal dimensions. There is a loop consisting of 'ehasystemblockFuzzytest/EHA System/Add' that cannot be resolved because signal dimensions are defined by a cyclic relationship. Specifying the signal dimensions on Inport, Mux, Selector, Demuxes will help resolve signal dimensions in the loop. You can also use the Signal Specifications to define the signal dimensions."Any kind help ?"Any kind help ?

Réponses (1)

Ashutosh Thakur
Ashutosh Thakur le 26 Juin 2024
Hi Thasvinthiran,
For blocks such as Inport, Mux, Demux, and Add, it is necessary to provide the signal dimensions. Without them, you can face issues with model simulation. As the error message indicates, by introducing the Signal Specification block, one can explicitly define the dimensions of the model. The following steps can be followed to use the Signal Specification block:
  • Add a Signal Specification Block using the model browser.
  • Double-click on the Signal Specification block; a dialog box will open.
  • Set the Dimensions parameter to the desired value (e.g., [1] for a scalar, [n] for a vector of length n).
  • Connect the block just before the signal path where this error occurs.
For more information on the Signal Specification block, you can refer to the following link
Also, this error can occur due to presence of Algebraic Loops in the system. So you can also try to check and resolve any algebraic loops present in the model by referring to the following link:
I hope this information helps you!

Catégories

En savoir plus sur Simulink Functions dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by