Main Content

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

C++ 라이브러리의 함수를 호출하려면 MATLAB® clib 네임스페이스를 사용하십시오.

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

함수

clibArrayCreate MATLAB clib array for C++ library functions (R2020a 이후)
clibConvertArrayConvert numeric MATLAB array to array of C++ objects (R2020a 이후)
clibConfigurationChange execution mode of C++ library interface (R2023a 이후)
CLibraryConfigurationC++ library interface environment information (R2023a 이후)
clibIsNullC++ 객체가 null인지 확인 (R2019b 이후)
clibIsReadOnlyC++ 객체가 읽기 전용인지 확인 (R2019b 이후)
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.