이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
C++용 MATLAB Engine API
C++ 프로그램에서 MATLAB® 코드를 실행하며, 객체 지향 프로그래밍과 비동기 실행을 지원합니다.
C++용 MATLAB Engine API는 C++ 프로그래밍 언어와 MATLAB 간 인터페이스를 제공합니다. 이 API에서 C++ 프로그램은 MATLAB을 시작하고, 인수와 함께 MATLAB 함수를 실행하며, MATLAB과 C++ 프로그램 간에 데이터를 교환할 수 있습니다.
C++용 MATLAB Engine API는 MATLAB Data API를 지원합니다. MATLAB 외부에서 실행되는 응용 프로그램이 MATLAB에 종속되지 않는 중립적인 인터페이스를 사용하여 MATLAB 데이터를 처리할 수 있습니다. MATLAB Data API에 대한 자세한 내용은 MATLAB Data API 항목을 참조하십시오.
도움말 항목
엔진 응용 프로그램을 설정하고 빌드하기
- C++용 Engine API 소개
C++ 엔진 프로그램의 기본 설계에 대한 소개. - C++ 엔진 프로그램 빌드하기
다양한 플랫폼에 엔진 응용 프로그램을 빌드합니다. - 빌드 환경 테스트하기
이 샘플 코드를 사용하여 C++용 MATLAB Engine API를 위한 개발 환경을 확인합니다. - C++ Engine API
The MATLAB Engine C++ API comprises functions, classes, and typedefs inmatlab::engine
namespace.
MATLAB을 시작하고 연결하기
- C++에서 MATLAB 세션 시작하기
C++에서 MATLAB 세션을 동기식 또는 비동기식으로 시작하고 연결합니다. - Connect C++ to Running MATLAB Session
Connect the C++ engine to a MATLAB session that has been started as or converted to a shared session.
함수를 호출하고 데이터를 교환하기
- C++에서 MATLAB 함수 호출하기
C++에서 MATLAB 함수를 호출하여 MATLAB으로 변수를 전달하고 변수를 C++로 반환합니다. - Evaluate MATLAB Statements from C++
Evaluate MATLAB expression from C++ and write variables into the MATLAB base workspace. - C++에서 MATLAB으로 변수 전달하기
C++에서 MATLAB으로 변수를 함수 인수로 전달하거나 MATLAB 기본 작업 공간에 바로 이러한 변수를 넣을 수 있습니다. - Pass Variables from MATLAB to C++
Get variables from the MATLAB base or global workspace. - Redirect MATLAB Command Window Output to C++
Redirect MATLAB command window output, including error messages, to you C++ program. - Run Simulink Simulation from C++
Run Simulink® model simulations from C++ and visualize the results with MATLAB graphics. - Convert C++ Engine Application to MATLAB Compiler SDK Application
How to convert an engine application to a deployed application using MATLAB Compiler SDK™.
MATLAB 데이터형 만들기
- Create Structure Arrays from C++
Create a structure array in C++ and pass it to MATLAB or get a structure array defined in MATLAB. - Create Cell Arrays from C++
Create heterogeneous arrays in C++ to use as MATLAB cell arrays. - Pass Enumerations to MATLAB From C++
Pass enumeration members of MATLAB enumeration classes to MATLAB from C++. - Pass Sparse Arrays to MATLAB From C++
Pass arrays to MATLAB as MATLAB sparse arrays.