주요 콘텐츠

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

C/C++ 라이브러리에 대한 MATLAB 인터페이스 작성하기

R2026a
C 또는 C++ 라이브러리에 대한 MATLAB® 인터페이스를 생성하기 위해 clibPublishInterfaceWorkflow 함수 사용

C 또는 C++ 라이브러리에 대한 MATLAB 인터페이스를 빌드(퍼블리시)하려면 clibPublishInterfaceWorkflow 함수를 호출하십시오. 개괄적인 내용은 C/C++ 라이브러리에 대한 MATLAB 인터페이스를 퍼블리시하는 방법 항목을 참조하십시오.

MATLAB에서 라이브러리의 함수를 호출하는 방법에 대한 자세한 내용은 사전 작성된 MATLAB 인터페이스를 C/C++ 라이브러리에 사용하기 항목을 참조하십시오.

함수

clibPublishInterfaceWorkflowCreate live script to publish platform-specific interface for C/C++ library (R2023a 이후)
clibgen.generateLibraryDefinition(Not recommended) Create definition file for C/C++ library
clibgen.buildInterface(Not recommended) Create interface to C/C++ library without definition file

라이브 편집기 작업

C++ 인터페이스 생성Configure and generate MATLAB interface to C/C++ library (R2023a 이후)

네임스페이스

clibMATLAB namespace for interface to C/C++ library
clibgenC++ 라이브러리 기능 호출을 지원하는 MATLAB 네임스페이스 및 클래스 요약

도움말 항목

인터페이스를 퍼블리시하는 방법

정의 및 사용자 지정

인터페이스 공유하기

문제 해결

Build C/C++ Library Interface and Review Contents

When you build a MATLAB interface to a C/C++ library, you can review the contents of the generated interface.

C/C++ 지원의 제한 사항

MATLAB에서 지원되지 않는 C/C++ 라이브러리 기능.

Troubleshooting C/C++ Library Definition Issues

Information for resolving errors when publishing a MATLAB interface to a C/C++ library.

Troubleshooting MATLAB Interface to C/C++ Library Run-Time Issues

Resolve unexpected run-time errors when calling functions in a published MATLAB interface to a C/C++ compiled library.

Troubleshooting Calls to C/C++ Library Functions

Resolve unexpected issues when calling functions in a C/C++ compiled library.

Debug C++ Library from MATLAB Interface

How to build a debug version of a MATLAB interface to a C++ library.