Borrar filtros
Borrar filtros

Error in port widths or dimensions

2 visualizaciones (últimos 30 días)
Abdelmajid Mettari
Abdelmajid Mettari el 6 de Sept. de 2017
Comentada: Abdelmajid Mettari el 13 de Sept. de 2017
Hi Every one ,I m getting this error from my simulink controller,this because i ve changed the stepsize from (0.6 in input and 0.4 in output) to (0.2 in input to 0.1 in output). this changed to length of my stepsize from 540 to 1618.
Error in port widths or dimensions. Output port 1 of 'CRS_Controller_170905/CRS Feedback
Simulation/CRS_CombRateShapeV2/CRS_Control/IgnDly_Model/Ignition_Delay_Model/Physical/Droplet Diameter/bar_to_Pa' is a one
dimensional vector with 1618 elements.
can anybody help?? thank you

Respuesta aceptada

Sudheer Nuggehalli
Sudheer Nuggehalli el 13 de Sept. de 2017
From the error message, this issue seems to originate from the block that is connected to the controllers output. Try checking the block connected to "bar_to_Pa" to see if there are any parameters that are hard-coded with the value 540. Since the length of the controllers step is changing from 540 to 1618, a hard-coded parameter of 540 would need to be changed to the updated length of 1618.
  1 comentario
Abdelmajid Mettari
Abdelmajid Mettari el 13 de Sept. de 2017
thank you for the replay,yes this was the reason for the error

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by