MATLAB/Simulink error
显示 更早的评论
Hello,
I am trying to run this model, where the gains and transport delay are constants.
However, I get the following error and I am not sure why:
Error due to multiple causes.
Caused by:
Error in port widths or dimensions. 'Output Port 1' of '.../Transport Delay' has 2 elements. This port does not accept the dimensions (or orientation) specified by the output signal.
Error in port widths or dimensions. Invalid dimension has been specified for 'Input Port 1' of '.../Gnm'.
Thank you very much for your help!
4 个评论
Benjamin Thompson
2022-1-27
Can you post the Simulink model?
Can you also please attach a script that assigns all of the inputs, e.g. ref_signal, Kp and Kr for your from workspace block so that we can try to replicate the problem. Also, the model in your screenshot is a little different than the one you attached. It uses the from workspace blocks and products for Kp and Kr rather than the gains shown in your screenshot. I assume though that the problem also occurs with the model you have attached
aeropista
2022-1-27
aeropista
2022-1-27
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!