generate function and save it
이전 댓글 표시
i generate new function (triarea) and i test it in work space and it work
probably , but the problem when i want to save it , say (undefine input argument)
the code is show below
_||function a= triarea (b,h)
a=0.5*(b.*h);||_
error show below
||Input argument "b" is undefined.
Error in ==> triarea at 2
a=0.5*(b.*h);||
답변 (1개)
Azzi Abdelmalek
2013년 4월 19일
When you type
triarea(1,2)
What is the error message?
카테고리
도움말 센터 및 File Exchange에서 MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!