where can I find a path of a function that matlab accessed?
조회 수: 1 (최근 30일)
이전 댓글 표시
I wrote a function 'test.m'. I called the function from Livescript
test(x,y)
How can one find the directory of test.m?
댓글 수: 0
채택된 답변
Walter Roberson
2020년 12월 13일
편집: Walter Roberson
2020년 12월 13일
test_info = which('test');
test_dir = fileparts(test_info);
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Software Development Tools에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!