Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Undefined function 'tf' for input arguments of type 'char'?

Asked by Lenin

Lenin (view profile)

on 1 May 2013

Hey everyone,

I am running R2012b.

I type in: s = tf('s')

Undefined function 'tf' for input arguments of type 'char'.

can someone please help me?

Thanks so much!

1 Comment

Kye Taylor

Kye Taylor (view profile)

on 1 May 2013

What do you want to do with tf('s')... transfer function? What does tf represent?

Lenin

Lenin (view profile)

2 Answers

Answer by Arkadiy Turevskiy

Arkadiy Turevskiy (view profile)

on 1 May 2013

tf is part of Control System Toolbox. The error message you are seeing means you do not have this product on your license. You can see which toolboxes you have by typing

 ver

at the command line.

1 Comment

Walter Roberson

Walter Roberson (view profile)

on 1 May 2013

The Control Systems Toolbox is included with the Student Version license, but is not installed by default.

Arkadiy Turevskiy

Arkadiy Turevskiy (view profile)

Answer by Jan Simon

Jan Simon (view profile)

on 1 May 2013

Asking Google or searching in the forum is a good strategy to get fast answers. See http://www.mathworks.com/matlabcentral/answers/65972.

0 Comments

Jan Simon

Jan Simon (view profile)

Contact us