Support for classes in Matlab Compiler

조회 수: 4 (최근 30일)
Andrew McLean
Andrew McLean 2015년 3월 5일
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