Support for classes in Matlab Compiler

1 Ansicht (letzte 30 Tage)
Andrew McLean
Andrew McLean am 5 Mär. 2015
Is support for classes still limited as described in the link below? I'm using R2014b.
I have an application where the Matlab side of my code has some complex state that needs to be preserved between calls. The obvious design would be to use a class instance. Am I right that this isn't possible?
The work-around appears to be to emulate a class using a structure to contain the state, and explicitly pass this between the driver and the functions that provide the interface to the Matlab side of the code. Is there another way?

Antworten (0)

Kategorien

Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by