Filter löschen
Filter löschen

Using shared pointers with MATLAB Coder

1 Ansicht (letzte 30 Tage)
Pedro Calorio
Pedro Calorio am 12 Apr. 2021
Hello guys,
My question is actually pretty straightforward. How do I use shared_ptr with generated C++ code from MATLAB? For example, I can pass a shared_ptr instead of a regular ptr to MATLAB-generated functions? If yes, how?
My first thinking is that I would have to change it manually in the function declaration, but I believe I could be so susceptible to errors this way.

Antworten (0)

Kategorien

Mehr zu Generating Code finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by