Example MATLAB class wrapper for a C++ class

An example of how to safely encapsulate a C++ class in a MATLAB class, via a mex interface.

https://github.com/ojwoodford/mex_class_wrapper

ダウンロード
ダウンロード

現在この提出コンテンツをフォロー中です。

編集メモ: This file was selected as MATLAB Central Pick of the Week

引用

Oliver Woodford (2026). Example MATLAB class wrapper for a C++ class (https://github.com/ojwoodford/mex_class_wrapper/releases/tag/v1.4.1), GitHub. に取得済み.

カテゴリ

Help Center および MATLAB Answers で Call C/C++ from MATLAB についてさらに検索

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.4.1

See release notes for this release on GitHub: https://github.com/ojwoodford/mex_class_wrapper/releases/tag/v1.4.1

ダウンロード
1.4.0

Added a standard interface to avoid needing an interface class per mex wrapper. Also added an example script.

ダウンロード
1.3.0

Add #includes suggested by Richard Crozier (thanks) to fix compilation in Linux.

ダウンロード
1.2.0

2nd attempt to fix compilation under linux.

ダウンロード
1.1.0

Fix compile error in Linux - thanks to Andreas for highlighting the issue.

ダウンロード
1.0.0

ダウンロード
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。