How to implement following with simulink blocks

Hello, I am new to Simulink and need some help to figure out which blocks and structure to use to implement the following.
I have an excel sheet with 2 columns. First column is A going from 1 to 25 with increment of 1 unit. Second column has corresponding max values for each value of A. So if A is 1 then B should not exceed value in first column. If A is 2 then B should not exceed value of 2nd column and so forth.
I want to compare each measured value of A to this excel sheet(lookup table) and for every instance that a value of A exceeds the max threshold I want a counter to increment and count the number of such instances.
Any help is appreciated.
Thanks.

Answers (0)

This question is closed.

Asked:

on 21 Sep 2017

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!