Schmitt-Trigger with Simulink
An op-amp isn't a schmitt trigger. If you don't have a schmitt trigger in your set of models, you can model one using an op-amp, but you need positive feedback (output sent to input) to make that work. 

See this for ways to do so:
http://en.wikipedia.org/wiki/Schmitt_trigger#Op-amp_implementations