how to call prepared function (m file)
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
I downloaded a function a function and I want to use it in my script. I tried to call it by using 'load' and 'import' but got error.
how can I call it?
댓글 수: 0
채택된 답변
Sriram Tadavarty
2020년 3월 16일
Hi Sani,
You can directly call the function with its name, provided it is in the path. For example your downloaded function name is myfun.m, then directly call with its name and required inputs in the script you want to access.
Regards,
Sriram
댓글 수: 8
Sriram Tadavarty
2020년 3월 16일
Then, it should work if used in script directly. Use it with scatter_kde(x,y) in the script
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Downloads에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!