Info

この質問は閉じられています。 編集または回答するには再度開いてください。

how to change this error

1 回表示 (過去 30 日間)
Dhanya shree Srihari
Dhanya shree Srihari 2017 年 10 月 12 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Undefined function or variable 'water_r'.Error in sc (line 10) meanwater_r=mean(water_r);
  1 件のコメント
Andrei Bobrov
Andrei Bobrov 2017 年 10 月 12 日
Defin your variable water_r.

回答 (1 件)

KL
KL 2017 年 10 月 12 日
if you're using it inside another function, you have to pass it as an argument.
function output = yourFunction(bla, bla, water_r)
...
meanwater_r=mean(water_r);
...
end

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by