MATLAB: Error using tf (transfer function)

MATLABtf error

Getting the following error:
>> sys = tf([1 2],[1 0 10])
Undefined function 'tf' for input arguments of type 'double'.
Using R2018b and control system toolbox is installed.

Best Answer

run "which -all tf" to find out