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 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!