Will not load when called from .bat-file

I have cvx installed and running as a part of a matlab script. When i call this matlab script from a php file with a bat file, my script freezes right at cvx_begin. Any help would be greatly appreicated.

I already have tried to run cvx_start.m at the beginning of my matlab script at this has not worked.