javamatlaboopimportmatlab-class

importing java classes in matlab classdef


I have a matlab class defined using classdef.

I'm creating a wrapper for some java stuff and need to import several classes.

I can't figure out where to import these classes, so far I can import them as needed in each method... which is painful.

any ideas?


Solution

  • Yes, you need to import them into each method, which is painful.