how to change this error
Informazioni
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Mostra commenti meno recenti
Undefined function or variable 'water_r'.Error in sc (line 10) meanwater_r=mean(water_r);
1 Commento
Andrei Bobrov
il 12 Ott 2017
Defin your variable water_r.
Risposte (1)
KL
il 12 Ott 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
Questa domanda è chiusa.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!