Error in port widths or dimensions. 'Input Port 1' of 'fccu/Zero-Order Hold' is a one dimensional vector with 1 elements.

1 visualización (últimos 30 días)
Error:Error in port widths or dimensions. 'Input Port 1' of 'fccu/Zero-Order Hold' is a one dimensional vector with 1 elements.

Respuestas (1)

Shantanu Dixit
Shantanu Dixit el 20 de Ag. de 2024
Editada: Shantanu Dixit el 20 de Ag. de 2024
Hi Hammed,
It is difficult to see the model clearly from the attached picture, but based on the two error messages (from Mux and zero-order-hold) it seems that the input dimensions to the Mux block are not what the model is expecting. In turn the output error from the mux block might be causing dimension error in Zero-Order-Hold block.
  • Review the input and dimensions of Mux and verify the configuration according to the number of input elements.
  • Ensure that the output from the Mux block matches this expected dimension.
  • Place Signal specification blocks at Mux to ensure expected functionality (by specifying attributes).

Categorías

Más información sobre Event Functions en Help Center y File Exchange.

Productos


Versión

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by