Are the methods of my MATLAB class exposed from the compiled Java Class with MATLAB Builder JA?

Suppose a class is created using CLASSDEF and some public methods are defined. When compiling this class as a public interface for Java, no Java methods are created for the ones defined in the class. Will this feature be provided and what is the suggested workaround?

 Accepted Answer

The ability to expose the methods of a MATLAB class is not currently available in MATLAB Builder JA.
To work around this issue, a wrapper MATLAB function for each method of the MATLAB Class can be created.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!