C++ class wrapper and utilities
現在この提出コンテンツをフォロー中です。
- フォローしているコンテンツ フィードに更新が表示されます。
- コミュニケーション基本設定に応じて電子メールを受け取ることができます
Header file with C++ class wrapper and other related utilities for creating mex interfaces to C++ objects.
This submission expands on the work done by Oliver Woodford on safely wrapping a persistent C++ object in a classdef wrapper. The supplied header file simplifies the creation of interfaces by providing some preprocessor macros, and a set of utility functions for performing argument checking, conversion between Matlab data types and std data types etc.
A base matlab class (cppinterface.m) is supplied to simplify the creation of your wrapper. This is intended to be subclassed by your classdef interface class.
An example is also provided of allowing two wrapped C++ object to communicate with each other directly through access to their pointers.
引用
Richard Crozier (2026). crobarcro/mcode-cpp-utilities (https://github.com/crobarcro/mcode-cpp-utilities), GitHub. に取得済み.
謝辞
ヒントを得たファイル: Example MATLAB class wrapper for a C++ class
一般的な情報
- バージョン 1.1.0.0 (19.9 KB)
-
GitHub でライセンスを表示
MATLAB リリースの互換性
- すべてのリリースと互換性あり
プラットフォームの互換性
- Windows
- macOS
- Linux
GitHub の既定のブランチを使用するバージョンはダウンロードできません
| バージョン | 公開済み | リリース ノート | Action |
|---|---|---|---|
| 1.1.0.0 | Adde a little more info to summary |
||
| 1.0.0.0 |
