本文介绍了在matlab classdef中导入java类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个使用classdef定义的matlab类。
I have a matlab class defined using classdef.
我正在为一些java东西创建一个包装器,需要导入几个类。
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.
任何想法?
推荐答案
是的,你需要将它们导入每种方法,很痛苦。
Yes, you need to import them into each method, which is painful.
这篇关于在matlab classdef中导入java类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!