Undefined function "......" for input arguments of type 'double'

21 ビュー (過去 30 日間)
Zahid Iqbal Rana
Zahid Iqbal Rana 2015 年 2 月 22 日
コメント済み: Steven Lord 2020 年 8 月 24 日
Please help me, when I run a code it gives
"Undefined function '.....' for input arguments of type 'double'"
Let me know what to do now ?
  2 件のコメント
Sad Grad Student
Sad Grad Student 2015 年 2 月 22 日
paste your code here by editing your question.
Zahid Iqbal Rana
Zahid Iqbal Rana 2015 年 2 月 23 日
lb = [-1 0 2 3 -2];
ub = [5 5 3 3 7];
n = 1e7;
X = randFixedLinearCombination(n,12.5,[1 1 1 1 1],lb,ub);

サインインしてコメントする。

採用された回答

per isakson
per isakson 2015 年 2 月 22 日
編集済み: per isakson 2017 年 10 月 24 日
The cause to this error message may be one of
  • typo, you have misspelled the name of the function
  • the function cannot be reached because it is not on the search path
  • a function with that name exists on the search path, but it is not defined for the actual type of input. E.g.
>> max(cell(1,9))
Undefined function 'max' for input arguments of type 'cell'.
  • the function does not exist on your system
Measures
  • check spelling
  • run the command which function_name -all. If which finds it run help function_name and read carefully
  • if you think it is a function, which comes with Matlab, search for the function in the Matlab documentation
  • search the file function_name.m with Windows Explorer or similar

その他の回答 (1 件)

jayamala pakhare
jayamala pakhare 2018 年 4 月 28 日
Undefined function 'rescale' for input arguments of type 'double'.
  3 件のコメント
Camille Dingam
Camille Dingam 2020 年 8 月 24 日
Hello, please help me with the similar error as below:
Undefined function 'mfcc' for input arguments of type 'double'.
Steven Lord
Steven Lord 2020 年 8 月 24 日
The mfcc function was introduced in Audio Toolbox in release R2018a. Do you have this toolbox installed (check the output of the ver function if you're not sure) and are you using release R2018a or later?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeEntering Commands についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by