matlab中mcc失败,matlab运行mcc时出现这样的情况

在尝试使用MATLAB的mcc编译代码时遇到了一系列警告和错误,包括'mex'模式下才能使用的函数如'help'、'which'、'java'等,在stand-alone模式下会导致运行时错误。此外,还涉及到C/C++ Graphics Library的缺失,需要指定-B sgl或-B sglcpp选项。编译'helpview.c'失败,导致mbuild执行出错,错误代码为1。
摘要由CSDN通过智能技术生成

不知道为什么我的matlab运行mcc时出现这样的情况,使得没有办法编译。大家帮忙呀

The "help" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.

Warning: File: c:\matlab6p5\toolbox\matlab\general\doc.m Line: 139 Column: 26

The "which" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.

Warning: File: c:\matlab6p5\toolbox\matlab\general\doc.m Line: 241 Column: 26

The "which" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.

Warning: File: c:\matlab6p5\toolbox\matlab\uitools\private\requestjavaadapter.m Line: 9 Column: 8

References to "ishandle" require the C/C++ Graphics Library when executing in stand-alone mode. You must specify -B sgl or -B sglcpp in order to use the C/C++ Graphics Libra

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值