Support for classes in Matlab Compiler

3 次查看(过去 30 天)
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?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by