6
我有一個函數文件名爲getFeatures.m
看起來像:導入同一類全球
function [features] getFeatures()
% Import the XPath classes
import javax.xml.xpath.*
% other code
end
function [name] = getName()
% Import the XPath classes
import javax.xml.xpath.*
% other code
end
正如你可以看到,這兩個函數導入的XPath庫,因爲我有很多的功能需要進口該類如何我可以一次做這個嗎?
爲什麼你不把功能導入? – cyborg