Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
how to change this error
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Undefined function or variable 'water_r'.Error in sc (line 10) meanwater_r=mean(water_r);
1 Kommentar
Antworten (1)
KL
am 12 Okt. 2017
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 Kommentare
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!