m文件内容是:
function [sum] = oper(a,b);
sum = a + b;
end
出错的错误是:
正在构造 Javadoc 信息...
标准 Doclet 版本 1.8.0_40
正在构建所有程序包和类的树...
正在生成C:\Users\Administrator\Documents\MATLAB\oper\for_testing\doc\html\oper\Class1.html...
C:\Users\Administrator\Documents\MATLAB\oper\for_testing\oper\Class1.java:110: 警告: args没有 @param
public static void main (String[] args)
^
C:\Users\Administrator\Documents\MATLAB\oper\for_testing\oper\Class1.java:60: 警告: com.mathworks.toolbox.javabuilder.MWException没有 @throws
public Class1() throws MWException
^
C:\Users\Administrator\Documents\MATLAB\oper\for_testing\oper\Class1.java:89: 警告: com.mathworks.toolbox.javabuilder.MWException没有 @throws
public Class1(MWComponentOptions componentOptions) throws MWException
^
C:\Users\Administrator\Documents\MATLAB\oper\for_testing\oper\Class1.java:78: 警告: com.mathworks.toolbox.javabuilder.MWException没有 @throws
public Class1(String pathToComponent) throws MWException
^
正在生成C:\Users\Administrator\Documents\MATLAB\oper\for_testing\doc\html\oper\Class1Remote.html...
C:\Users\Administrator\Documents\MATLAB\oper\for_testing\oper\Class1Remote.java:59: 错误: 找不到引用
* @throws java.jmi.RemoteException An error has occurred during the function call or
^
C:\Users\Administrator\Documents\MATLAB\oper\for_testing\oper\Class1Remote.java:62: 警告: java.rmi.RemoteException没有 @throws
public Object[] oper(int nargout, Object... rhs) throws RemoteException;
^
C:\Users\Administrator\Documents\MATLAB\oper\for_testing\oper\Class1Remote.java:65: 警告: java.rmi.RemoteException没有 @throws
void dispose() throws RemoteException;
^
正在生成C:\Users\Administrator\Documents\MATLAB\oper\for_testing\doc\html\oper\OperMCRFactory.html...
正在生成C:\Users\Administrator\Documents\MATLAB\oper\for_testing\doc\html\oper\package-frame.html...
正在生成C:\Users\Administrator\Documents\MATLAB\oper\for_testing\doc\html\oper\package-summary.html...
C:\Users\Administrator\Documents\MATLAB\oper\for_testing\oper\package-info.java:8: 警告:
标记为空
^ C:\Users\Administrator\Documents\MATLAB\oper\for_testing\oper\package-info.java:15: 错误: 意外的结束标记:
-
^
C:\Users\Administrator\Documents\MATLAB\oper\for_testing\oper\package-info.java:21: 警告:
标记为空
^ C:\Users\Administrator\Documents\MATLAB\oper\for_testing\oper\package-info.java:27: 错误: 意外的结束标记:
- ^ 正在生成C:\Users\Administrator\Documents\MATLAB\oper\for_testing\doc\html\oper\package-tree.html... 正在生成C:\Users\Administrator\Documents\MATLAB\oper\for_testing\doc\html\constant-values.html... 正在构建所有程序包和类的索引... 正在生成C:\Users\Administrator\Documents\MATLAB\oper\for_testing\doc\html\overview-tree.html... 正在生成C:\Users\Administrator\Documents\MATLAB\oper\for_testing\doc\html\index-all.html... 正在生成C:\Users\Administrator\Documents\MATLAB\oper\for_testing\doc\html\deprecated-list.html... 正在构建所有类的索引... 正在生成C:\Users\Administrator\Documents\MATLAB\oper\for_testing\doc\html\allclasses-frame.html... 正在生成C:\Users\Administrator\Documents\MATLAB\oper\for_testing\doc\html\allclasses-noframe.html... 正在生成C:\Users\Administrator\Documents\MATLAB\oper\for_testing\doc\html\index.html... 正在生成C:\Users\Administrator\Documents\MATLAB\oper\for_testing\doc\html\help-doc.html... 3 个错误 8 个警告 Error: An error occurred while shelling out to javadoc (error code = 1). Unable to build executable.