input argument type double

3 ビュー (過去 30 日間)
Mili Kian
Mili Kian 2020 年 5 月 11 日
コメント済み: Image Analyst 2020 年 5 月 11 日
when i using my matlab code, this error appear :
Undefined function 'uneldof' for input arguments of type 'double'.
when i write " which uneldof"
it says "'undeldof' not found. "
how can i fix it.
and my code is widesprerasd that i cant bring that on this paper.
  6 件のコメント
Geoff Hayes
Geoff Hayes 2020 年 5 月 11 日
Mili - you will need to show your code for IPCGdyri. Does this file also inlcude the line
uneldof=eldof(points_below(:,1),:);
? How does commenting out this line prevent the error from occurring? How is uneldof used after this line of code? And are you sure that you don't have a function named uneldof?
Image Analyst
Image Analyst 2020 年 5 月 11 日
Make sure you spell things correctly. You don't always, like when you said this:
when i write " which uneldof"
it says "'undeldof' not found. "

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

回答 (1 件)

Image Analyst
Image Analyst 2020 年 5 月 11 日
The variable is not in scope. You need to pass that variable into your functions somehow. See the FAQ for methods on how to do that: FAQ

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by