EXECIN

버전 1.1.0.1 (1.74 KB) 작성자: Jiro Doke
Executes functions and scripts not in the path.
다운로드 수: 2K
업데이트 날짜: 2016/9/1

라이선스 보기

EXECIN Execute a function or script in different directory.

EXECIN(FUNCNAME) will execute function FUNCNAME, which is a string that includes the full path of the function.

[Y1, Y2, ...] = EXECIN(FUNCNAME, X1, X2, ...) allows input and output arguments that are normally allowed by the function FUNCNAME.

Example:
[s, out] = execin('C:\mywork dir\testfunction.m', x1, x2);

This is quite similar to Brett Shoelson's EXTERNALFCN. I didn't realize it until I made it. But there are some advantages such as ability to call functions without output arguments, and assigning outputs in the caller workspace (not base).

인용 양식

Jiro Doke (2024). EXECIN (https://www.mathworks.com/matlabcentral/fileexchange/8518-execin), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2009a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 File Operations에 대해 자세히 알아보기
도움

받음: externalfcn

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.1

Updated license

1.1.0.0

License update

1.0.0.0

Added functionality of executing scripts.