nominal() was introduced in the Statistics toolbox in r2007a. I do not find any other definition of it. perhaps you had aa licence for the toolbox before or perhaps you were using aa third party toolbox that you do not have installed now.
If you still have access to aa situation in which it is working then use
which -all nominal
to find out which nominal you were invoking .