I threw together a test model to see if the relay block or my model worked. I think that the greatest promise is inthe relay block as it is cable of emulating the response shown on the webpage i found. The pseudo code i wrote and put into simulink creates a algebraic loop, and i have yet to get it to work.
Drop me a line if the relay block fills your need and if it doesnt please tell me why, i always like a good puzzle.
BSK