Simulink IF-block issue
Mostrar comentarios más antiguos
When I run my model with a huge IF-ELSE block with about 10 different elseif conditions, I get the following error message:
"When using a comma-separated list for specifying inputs to root-level inports, the number of list elements must be equal to the number of root-level inports"
I am actually not even sure if this error message is because of the IF block but I am not really using anything really funky in this model.
Can anyone suggest where I could possibly investigate? Or what exactly the error message really means?
Respuestas (1)
Fangjun Jiang
el 30 de Sept. de 2011
1 voto
In your model, click menu Simulation->Configuration Parameters... then click Data Import/Export at the left column, look at the right, do you have "Input" checked, and do you have value for it? The error message seems to me that there are values specified but don't match the number of inports at teh root level.
1 comentario
Sandeep
el 3 de Oct. de 2011
Categorías
Más información sobre Simulink Functions 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!