MATLAB/Simulink error
Mostrar comentarios más antiguos
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 comentarios
Benjamin Thompson
el 27 de En. de 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
el 27 de En. de 2022
aeropista
el 27 de En. de 2022
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Simulink en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!