×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

signal through empty embedded function gives error

signal through empty embedded function gives error

signal through empty embedded function gives error

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources