It looks as if the evalfis function definition has changed recently. For me in R2018a, the inputs must be specified first:
>> output = evalfis([2 1], fis)
You can check this by running help:
>> help evalfis
evalfis Perform fuzzy inference calculations.
OUTPUTS = evalfis(INPUTS,FIS)...
