このページの翻訳は最新ではありません。ここをクリックして、英語の最新版を参照してください。
C クライアントのプログラミング
MATLAB® Production Server™ C/C++ クライアント API を使用すると、開発者はリモート サーバー上で MATLAB 関数を評価できます。MATLAB 関数を評価するには、事前に関数の引数を MATLAB Production Server 固有の mpsArray
構造体に変換する必要があります。mpsArray
構造体の操作の詳細については、Manage MATLAB Data in C/C++ Clientsを参照してください。
クライアント プログラムを作成する方法の概要については、Create a C MATLAB Production Server Clientを参照してください。
クライアント実装の詳細な例については、Create a C++ Clientを参照してください。
トピック
- Create a C MATLAB Production Server Client
Learn how to create a MATLAB Production Server client in C or C++.
- Create a C++ Client
Learn how to call a MATLAB function deployed to MATLAB Production Server from a C++ application.
- Create the Client Runtime Context
Use
createContext()
to create a client runtime context. - Configure the Client-Server Connection
Use
mpsClientConfig
structure to configure the client-server connection. - Access Secure Programs Using HTTPS
Process to establish a secure connection between client and server using HTTPS.
- Handle Function Processing Errors
Procedure for handling errors that occur when processing MATLAB functions.
- Clean Up MATLAB Resources
Process for cleaning up various resources used by the client to enable shutdown process.
- Manage MATLAB Data in C/C++ Clients
Information on MATLAB data types and how to use the
mpsArray
API to manage MATLAB data between C/C++ clients and the server. - Supported MATLAB Data Types for Client and Server Marshaling
MATLAB Production Server supports marshaling of several MATLAB data types between C client applications and server instances.