- 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).
Error in port widths or dimensions. 'Input Port 1' of 'fccu/Zero-Order Hold' is a one dimensional vector with 1 elements.
2 次查看(过去 30 天)
显示 更早的评论
Error:Error in port widths or dimensions. 'Input Port 1' of 'fccu/Zero-Order Hold' is a one dimensional vector with 1 elements.
0 个评论
回答(1 个)
Shantanu Dixit
2024-8-20
编辑:Shantanu Dixit
2024-8-20
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.
Refer to signal specification block: www.mathworks.com/help/simulink/slref/signalspecification.html
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Event Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!