Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

signal through empty embedded function gives error

Status
Not open for further replies.

halvorsen82

Computer
Feb 9, 2007
1
Hi

I'm using Simulink. If I have a signal (1D matrix, boolean values) go from block 1 to block 2 (block processing, named 'highlight') then there is no problem at all. But when I pass the same signal through an embedded function, where input av the function is the same as output (no change at all), and then further to block 2 (same input port as the previous one) I get the following error:

Element 1 of port 2 in 'motion_detection_blocks/See It/Highlight/Block iterator/Input2/Selector2' has a value of 1. This value is not within the range of permissible values (0 through 0) that allows selection of a valid input data element.

What does that mean? And why do I get this error when I don't do anything with the signal?
hope someone can help me.

sincerely,
Martin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor