Help creating a function
조회 수: 1 (최근 30일)
이전 댓글 표시
채택된 답변
Rik
2023년 10월 21일
You need to call your function the same way you call builtin functions. If you use the green triangle, your function will be run without any input arguments.
It is also good practice to resolve all mlint warnings (the orange squiggly lines). There is an option to leave your code as-is and suppress the error, but for the current warnings about your code you shouldn't.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Adding custom doc에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!