MATLAB Answers


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

Asked by Ben
on 5 Mar 2013
Latest activity Edited by Walter Roberson
on 16 May 2015

Hey everyone,

so I need to do some aerospace homework. I am running R2012b.

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

just like my prof. says to and just like the help file says to

and i get the error:

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

can someone please help me?!??!

Thanks so much!


3 Answers

Answer by Honglei Chen
on 5 Mar 2013

Do you have Control System Toolbox? What is the out put of the following command?

>> ver


Answer by Ben
on 5 Mar 2013
Edited by Walter Roberson
on 16 May 2015
>> ver
MATLAB Version: (R2012b)
MATLAB License Number: ••••••
Operating System: Mac OS X  Version: 10.8.2 Build: 12C3103 
Java Version: Java 1.6.0_41-b02-445-11M4107 with Apple Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB                                                Version 8.0        (R2012b)
Simulink                                              Version 8.0        (R2012b)
Bioinformatics Toolbox                                Version 4.2        (R2012b)
Curve Fitting Toolbox                                 Version 3.3        (R2012b)
Database Toolbox                                      Version 4.0        (R2012b)
Datafeed Toolbox                                      Version 4.4        (R2012b)
Econometrics Toolbox                                  Version 2.2        (R2012b)
Financial Instruments Toolbox                         Version 1.0        (R2012b)
Financial Toolbox                                     Version 5.0        (R2012b)
Fuzzy Logic Toolbox                                   Version 2.2.16     (R2012b)
Global Optimization Toolbox                           Version 3.2.2      (R2012b)
Image Acquisition Toolbox                             Version 4.4        (R2012b)
Image Processing Toolbox                              Version 8.1        (R2012b)
Instrument Control Toolbox                            Version 3.2        (R2012b)
MATLAB Compiler                                       Version 4.18       (R2012b)
Mapping Toolbox                                       Version 3.6        (R2012b)
Neural Network Toolbox                                Version 8.0        (R2012b)
Optimization Toolbox                                  Version 6.2.1      (R2012b)
Parallel Computing Toolbox                            Version 6.1        (R2012b)
Partial Differential Equation Toolbox                 Version 1.1        (R2012b)
Signal Processing Toolbox                             Version 6.18       (R2012b)
SimMechanics                                          Version 4.1        (R2012b)
Simscape                                              Version 3.8        (R2012b)
Simulink 3D Animation                                 Version 6.2        (R2012b)
Stateflow                                             Version 8.0        (R2012b)
Statistics Toolbox                                    Version 8.1        (R2012b)
Symbolic Math Toolbox                                 Version 5.9        (R2012b)
System Identification Toolbox                         Version 8.1        (R2012b)
Wavelet Toolbox  


Answer by Ben
on 5 Mar 2013

Thank you Honglei for responding btw,

i'm guessing that this means I do not have the Control System Toolbox

how do i go about getting that??

  1 Comment

Honglei Chen
on 5 Mar 2013

I guess you'll have to talk to the system administrator in your department. Maybe you can talk to your professor first and then ask your professor to handle it. I assume this is going to be an issue for all students in the class.

Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!