Error in port widths or dimensions.

4 vues (au cours des 30 derniers jours)
Ananya Singh
Ananya Singh le 5 Juil 2019
Commenté : Fangjun Jiang le 10 Juil 2019
The PI Controller shown in the 1st figure is used in the 2nd figure to simulate a model of PID heat exchanger controller.
ERRORS:
Error in port widths or dimensions. Output port 1 of 'Paper2/Transport Delay HE' is a one dimensional vector with 2 elements.
and
Error in port widths or dimensions. Invalid dimension has been specified for input port 1 of 'Paper2/Heat Exchanger'.
How can I remove these errors?

Réponses (1)

Fangjun Jiang
Fangjun Jiang le 5 Juil 2019
The Outport block "Out1" in "PI Controller" is connected to a BusCreator (or Mux) block. It contains two signals. That might be a mistake. Try to connect "Out1" to the output of block "Control Valve".
  2 commentaires
Ananya Singh
Ananya Singh le 10 Juil 2019
Thank you Fangjun Jiang. But the same error is persisting even after connecting "Out1" to the output of block "Control Valve"
Fangjun Jiang
Fangjun Jiang le 10 Juil 2019
All your signals seem to be scalar so the dimension should be 1. Update your model and start from the first place where the dimension shows 2.

Connectez-vous pour commenter.

Produits


Version

R2016a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by