Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
how to change this error
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Undefined function or variable 'water_r'.Error in sc (line 10) meanwater_r=mean(water_r);
1 comentario
Respuestas (1)
KL
el 12 de Oct. de 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 comentarios
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!