懒得想名字专注学习 2019-06-17 15:59 采纳率: 0%
浏览 385

matlab 打包错误 有没有大佬懂的 在线等

mcc -W 'java:demo,Class' -T link:lib -d F:\test\demo\for_testing class{Class:F:\test\drawplot.m}
[警告: Adding path "F:\test" to Compiler path instance.]
正在加载程序包demo的源文件...
正在构造 Javadoc 信息...
标准 Doclet 版本 1.8.0_181
正在构建所有程序包和类的树...
正在生成F:\test\demo\for_testing\doc\html\demo\Class.html...
F:\test\demo\for_testing\demo\Class.java:108: 警告: args没有 @param
public static void main (String[] args)
^
F:\test\demo\for_testing\demo\Class.java:58: 警告: com.mathworks.toolbox.javabuilder.MWException没有 @throws
public Class() throws MWException
^
F:\test\demo\for_testing\demo\Class.java:87: 警告: com.mathworks.toolbox.javabuilder.MWException没有 @throws
public Class(MWComponentOptions componentOptions) throws MWException
^
F:\test\demo\for_testing\demo\Class.java:76: 警告: com.mathworks.toolbox.javabuilder.MWException没有 @throws
public Class(String pathToComponent) throws MWException
^
正在生成F:\test\demo\for_testing\doc\html\demo\ClassRemote.html...
F:\test\demo\for_testing\demo\ClassRemote.java:56: 错误: 找不到引用
* @throws java.jmi.RemoteException An error has occurred during the function call or
^
F:\test\demo\for_testing\demo\ClassRemote.java:59: 警告: java.rmi.RemoteException没有 @throws
public Object[] drawplot(Object... rhs) throws RemoteException;
^
F:\test\demo\for_testing\demo\ClassRemote.java:62: 警告: java.rmi.RemoteException没有 @throws
void dispose() throws RemoteException;
^
正在生成F:\test\demo\for_testing\doc\html\demo\DemoMCRFactory.html...
正在生成F:\test\demo\for_testing\doc\html\demo\package-frame.html...
正在生成F:\test\demo\for_testing\doc\html\demo\package-summary.html...
F:\test\demo\for_testing\demo\package-info.java:8: 警告:
标记为空

  • ^
    F:\test\demo\for_testing\demo\package-info.java:15: 错误: 意外的结束标记:

  • ^
    F:\test\demo\for_testing\demo\package-info.java:20: 警告:
    标记为空

  • ^
    F:\test\demo\for_testing\demo\package-info.java:26: 错误: 意外的结束标记:

  • ^
    正在生成F:\test\demo\for_testing\doc\html\demo\package-tree.html...
    正在生成F:\test\demo\for_testing\doc\html\constant-values.html...
    正在构建所有程序包和类的索引...
    正在生成F:\test\demo\for_testing\doc\html\overview-tree.html...
    正在生成F:\test\demo\for_testing\doc\html\index-all.html...
    正在生成F:\test\demo\for_testing\doc\html\deprecated-list.html...
    正在构建所有类的索引...
    正在生成F:\test\demo\for_testing\doc\html\allclasses-frame.html...
    正在生成F:\test\demo\for_testing\doc\html\allclasses-noframe.html...
    正在生成F:\test\demo\for_testing\doc\html\index.html...
    正在生成F:\test\demo\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. For more information, pass the -v option to mcc.

  • 写回答

1条回答 默认 最新

  • 壹柒捌178 2022-11-04 10:16
    关注

    你好请问你解决了没,最近想了解混合编程。也遇到了这个问题,感觉是jdk版本问题。试了很久,依然没解决。请大佬赐教

    评论

报告相同问题?

悬赏问题

  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 unity第一人称射击小游戏,有demo,在原脚本的基础上进行修改以达到要求
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
  • ¥15 关于#Java#的问题,如何解决?
  • ¥15 加热介质是液体,换热器壳侧导热系数和总的导热系数怎么算
  • ¥100 嵌入式系统基于PIC16F882和热敏电阻的数字温度计
  • ¥15 cmd cl 0x000007b
  • ¥20 BAPI_PR_CHANGE how to add account assignment information for service line
  • ¥500 火焰左右视图、视差(基于双目相机)