Main Content

이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

사전 작성된 MATLAB 인터페이스를 C++ 라이브러리에 사용하기

C++ 라이브러리의 함수를 호출하려면 MATLAB® clib 패키지를 사용하십시오.

C++ 공유 라이브러리에 대해 퍼블리시된 MATLAB 인터페이스가 있는 경우 직접 MATLAB에서 아래 클래스와 함수를 사용하여 MATLAB과 C++ 간에 데이터를 전달할 수 있습니다.

함수

clibArrayCreate MATLAB clib array for C++ library functions
clibConvertArrayConvert numeric MATLAB array to array of C++ objects
clibIsNullC++ 객체가 null인지 확인
clibIsReadOnlyC++ 객체가 읽기 전용인지 확인
clibReleaseRelease C++ object from MATLAB
underlyingValueUnderlying numeric value for C++ enumeration object created in MATLAB

도움말 항목

문제 해결

Troubleshooting MATLAB Interface to C++ Library Issues

MATLAB searches for the library interface file on the MATLAB path.