anon44,
Did you say that you have never cum through masturbation? You only cum through wet dreams? If you can cum at all then it means that this is physically doable. The reverse would be true that if you couldn't cum, ever during a wet dream then you may have some sort of blocking occuring, but I don't think this is the case. The other suggestions here re this being psychological may have some merit.
When you masturbate, do you find yourself feeling emotions other than "lustful horniness"? What I'm trying to get at, is whether there is something else on your mind, or perhaps when you first started masturbating you did have something bothering you or occupying your thoughts thus causing you not to shoot. Once the trend started, it could now be the anticipation of nothing happening that continues to stymie you in your pursuit to ejaculate.
You should try to relax and enjoy masturbating. Get some good porn (or whatever turns you on) going and, has been suggested, keep masturbating until you ejaculate - don't stop when you think you are about to blow, but instead, keep going until you do so.
Hope this helps,
Wendy