【问题标题】:Invalid mex file, morphmex.mexw32 the specified modules could not be found无效的 mex 文件,morphmex.mexw32 找不到指定的模块
【发布时间】:2011-03-31 15:57:56
【问题描述】:

我在 Matlab 中编写了一个图像处理程序,并使用 matlab builder ne 创建了该程序的 .dll。我的matlab版本是2010a。我用 c# 编写了一个程序来使用 matlab 函数。它可以在我安装了 matlab 的计算机上运行。但是当我在没有 matlab 的计算机上安装 MCR 并想运行该程序时,抛出了一个 c# 异常。 它说:

MWMCR::EvaluateFunction 错误 无效的 MEX 文件 ...\toolbox\images\images\private\morphmex.mexw32':找不到指定的模块。 =>MYMATFUNC.m 在 6 处出错。

... Matlab M 代码堆栈跟踪... 在 文件 ...\toolbox\images\images\private\morphop.m,name ....

谁能帮忙解决这个问题?

【问题讨论】:

  • 也许是 32/64 位问题?
  • 不,我在没有matlab的相同架构上试过,但问题存在。

标签: c# matlab mex matlab-deployment


【解决方案1】:

我在使用 Matlab 2010a 和 Matlab Builder NE 3.1 时遇到了完全相同的问题,并且没有解决方法来解决它。昨天,我升级到 Matlab 2010bSp1 / Builder NE 3.2,现在它可以完美运行了。

干杯 呵呵

【讨论】:

  • 感谢您的回复。我可以试试!
猜你喜欢
  • 2013-02-26
  • 2020-10-29
  • 2017-10-17
  • 2022-06-15
  • 2012-07-25
  • 2017-09-17
  • 2011-01-05
  • 2021-03-27
相关资源
最近更新 更多