As in Matlab Notebook use functions?
    조회 수: 7 (최근 30일)
  
       이전 댓글 표시
    
As in Matlab use functions? For example, I wrote a function mymin, then created a .doc file and all placed in the same folder. Here is what is displayed when calling the function in MS Word:
vec=[1 2 3 4 4];
a=mymin(vec)  
??? Undefined function 'mymin' for input arguments of type 'double'.
댓글 수: 0
답변 (2개)
  cheng chen
 2017년 3월 14일
        your matlab "current directory" must include the function "mymin" what you difined.
댓글 수: 0
참고 항목
카테고리
				Help Center 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


