MATLAB: I don’t know why i receive the error Matlab has encountered an internal problem and needs to be close.

simulationsimulink

Unfortunately, i can not load the picture that describes this error in détails.
I try to describe.
After a certain simulation time Matlab crashes and produces the following error : Matlab has encountered an internal problem and needs to close
I don't know how i could solve that.
May be you could help me !
Thanks