MATLAB/Simulink error
Show older comments
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 Comments
Benjamin Thompson
on 27 Jan 2022
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
on 27 Jan 2022
aeropista
on 27 Jan 2022
Accepted Answer
More Answers (0)
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!