realtime or not?!

when i opened the scope in simulink i didn't see the exact 100hz square wave..

You've told us what you don't see.
But what do you see?