vpa is not part of MATLAB, UNLESS you have the symbolic toolbox. So do you have a license for that? At the command line, type
It will tell you if you have a valid license for that toolbox. If you THINK you do have that toolbox, then you may possibly just not have installed it properly. But first you need to see what ver tells you.