Info
この質問は閉じられています。 編集または回答するには再度開いてください。
how to change this error
1 回表示 (過去 30 日間)
古いコメントを表示
Undefined function or variable 'water_r'.Error in sc (line 10) meanwater_r=mean(water_r);
1 件のコメント
回答 (1 件)
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
0 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!