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!