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!