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

10 views (last 30 days)
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!
  2 Comments
Kye Taylor
Kye Taylor on 1 May 2013
What do you want to do with tf('s')... transfer function? What does tf represent?
Wafeeq
Wafeeq on 21 Mar 2016
Edited: Wafeeq on 21 Mar 2016
Do you have control Toolbox in matlab? You can write ver in matlab to check if it is available. Otherwise you can use tf if you dont have control toolbox

Sign in to comment.

Answers (2)

Arkadiy Turevskiy
Arkadiy Turevskiy 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 on 1 May 2013
The Control Systems Toolbox is included with the Student Version license, but is not installed by default.

Sign in to comment.


Jan
Jan 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.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!