Help in Error at logical operator bock and constant to compare block

3 visualizaciones (últimos 30 días)
salah reda
salah reda el 1 de Jun. de 2016
Comentada: Muhammed Fasil el 2 de Jun. de 2016
I build my model to detect ball in video input, when i trying to running the model, i received error ''Error in port widths or dimensions. Invalid dimension has been specified for input port 1 of 'model2/Subsystem1/Logical Operator'.'' at logical operator block. Also another error ''Error in port widths or dimensions. Output port 1 of 'model2/Subsystem1/Compare To Constant' is a [50x1] matrix.'' at compare To constant block.
Please need any one help me to solve this error
  1 comentario
Muhammed Fasil
Muhammed Fasil el 2 de Jun. de 2016
You are comparing 1 signal with 50 signals. Use a demux which has 50 outputs and compare one by one

Iniciar sesión para comentar.

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