Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How can I construct a C++ class from a matlab script?

2 Ansichten (letzte 30 Tage)
sean borgsteede
sean borgsteede am 27 Jun. 2018
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I have a C++ class that I would like to construct/call from MATLAB. The class will be a large dataset and I want to pass pointers and data from the C++ instance of the class to MATLAB's workspace. An example class, main, & header are attached. Mexfunction seems like the established method but I still don't understand what changes need to made to my .cpp file for it to be a "_mex.cpp"

Antworten (0)

Diese Frage ist geschlossen.

Produkte


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by