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

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 个评论

What do you want to do with tf('s')... transfer function? What does tf represent?
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

请先登录,再进行评论。

回答(2 个)

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 个评论

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

请先登录,再进行评论。

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

类别

帮助中心File Exchange 中查找有关 Manage Products 的更多信息

提问:

2013-5-1

编辑:

2016-3-21

Community Treasure Hunt

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

Start Hunting!

Translated by