How can you make a Randon Normal variable, X under the condition that a<X<b?

In my case it takes very long to calcute it using a while loop. (Calculating again and again if X does not fulfill the condition) (In my code it at least takes 5 minutes, maybe longer because I stopped Matlab.)

Please help me, I'm desperate. :P Thank you so much!