crobarcro/mcode-cpp-utilities

版本 1.1.0.0 (19.9 KB) 作者: Richard Crozier
C++ class wrapper and utilities
173.0 次下载
更新时间 2016/10/8

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 (2024). crobarcro/mcode-cpp-utilities (https://github.com/crobarcro/mcode-cpp-utilities), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2012b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Call C++ from MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.1.0.0

Adde a little more info to summary

1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库