Support for classes in Matlab Compiler

1 view (last 30 days)
Andrew McLean
Andrew McLean on 5 Mar 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?

Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!