Hi Matteo,
This sort of an error usually occurs when a user defined function shadows an in-built MATLAB function. This is discussed in greater detail in the following MATLAB Answers post:
Make sure that the license checks out:
>> status = license('checkout','PDE_Toolbox')
Clear path issues using the following commands:
>> restoredefaultpath
>> rehash toolboxcache
>> savepath