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

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版本问题。试了很久,依然没解决。请大佬赐教

    评论

报告相同问题?

悬赏问题

  • ¥15 名为“Product”的列已属于此 DataTable
  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题
  • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发
  • ¥15 南大pa1 小游戏没有界面,并且报了如下错误,尝试过换显卡驱动,但是好像不行
  • ¥15 没有证书,nginx怎么反向代理到只能接受https的公网网站
  • ¥50 成都蓉城足球俱乐部小程序抢票
  • ¥15 yolov7训练自己的数据集
  • ¥15 esp8266与51单片机连接问题(标签-单片机|关键词-串口)(相关搜索:51单片机|单片机|测试代码)
  • ¥15 电力市场出清matlab yalmip kkt 双层优化问题