How to fix "Signal Dimension" error message ?

6 次查看(过去 30 天)
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 ?

回答(1 个)

Ashutosh Thakur
Ashutosh Thakur 2024-6-26
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!

类别

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

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by