What is this error means? on mac r2012b: "Undefined function 'impulse' for input arguments of type 'double'."

for Example i write just:
impulse([1],[1 2 9])
Undefined function 'impulse' for input arguments of type 'double'.
gives this error or:
tf(1,[1 2 9]);
Undefined function 'tf' for input arguments of type 'double'.
every function like this *I Use matlab 2012b on Mac *

Answers (2)

It probably means you not have the Control System Toolbox. Use the ver command to see if you havethe toolbox
ver
or see the output of the following
which impulse
which tf

6 Comments

thanks dear Thomas I run ver and received this:
MATLAB Version: 8.0.0.783 (R2012b)
MATLAB Version: 8.0.0.783 (R2012b)
Operating System: Mac OS X Version: 10.8.2 Build: 12C60
Java Version: Java 1.6.0_37-b06-434-11M3909 with Apple Inc. Java HotSpot™ 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 Version 4.10 (R2012b)
As u said I don't have Control System Toolbox I wanted to reinstall matlab and select Custom to install that but there were not there to check mark in order to install?!?
Do you have a license for the control system toolbox? If you do you can download it form the accounts> downloads section of the mathworks.com website. If not, you need to buy it.
Each toolbox is a separate product that needs to be purchased.
i dont have that license. could i run another control system toolbox on tthis mac? for example earlier versions of control system toolbox? how?
I don't think that will work. As far as I know, you need a license. MATLAB is not freeware and the licenses are expensive. Most Universities have site licenses with multiple toolboxes.
thanks Thomas
if i get the account where and how can i download?
u mean that I can connect form university domain to mathworks site and download with university license?
IF the license the University license includes the Controls Toolbox and your University email id is authorized to be added to the license. I manage a license for a University and we have to add users email ids to be associated with the accounts or get product key to associate licenses to accounts. If we need extra toolboxes we pay for them to be added to our license.

Sign in to comment.

It seems that your function is not defined.
e.g. try something like this to define a function
impuls= @(x,y) x+y

Categories

Asked:

on 13 Nov 2012

Community Treasure Hunt

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

Start Hunting!