提供旧版MEX基础结构以实现兼容性 [英] Legacy MEX infrastructure is provided for compatibility

查看:139
本文介绍了提供旧版MEX基础结构以实现兼容性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Matlab 2014b中使用mex命令编译mexFunction文件时,会出现这种警告消息.

There is this warning kind of message when compiling mexFunction files using the mex command in Matlab 2014b.

Legacy MEX infrastructure is provided for compatibility; it will be removed in a future version of MATLAB.

这应该是什么意思?此消息带有一个链接,但是我没有找到有用的东西.同样,这个问题没有引起我更明智.

What is this supposed to mean? There comes a link with this message, but I did not find something useful. Also this question did not make me more wise.

MEX API会消失吗?会有其他界面吗? 到底要发生什么变化?有人可以告诉吗?

Will the MEX API vanish? Will there be a different interface? What is going to change exactly? Can anybody tell?

推荐答案

消息Legacy MEX infrastructure is provided for compatibility; it will be removed in a future version of MATLAB.仅表示不建议使用mexopts.bat(Windows)和mexopts.sh(* NIX和MAC)设置MEX的方式将来将使用基于XML的配置系统(用基础设施"来形容).请注意,它尚未被删除,只是被弃用了-您可以继续使用mexopts.bat进行配置,但这会给您带来麻烦.

The message Legacy MEX infrastructure is provided for compatibility; it will be removed in a future version of MATLAB. just means that the way of setting up MEX with mexopts.bat (Windows) and mexopts.sh (*NIX and MAC) is deprecated and an XML based configuration system ("infrastructure" in their words) will be used going forward. Note that it is not removed yet, just deprecated - you can continue to configure with mexopts.bat but it will bug you about it.

有关如何制作自己的XML的一些建议,请参阅此答案,以开始使用.由于类似于直观的Makefile的mexopts.bat的组织已消失,取而代之的是更复杂的系统,其中涉及自动搜索,环境变量读取等,因此您将不得不进行一些尝试和回答.

For some suggestions on how to make your own XML, see this answer, just to get started. You will have to do some trial and answer since the intuitive Makefile-like organization of mexopts.bat is gone and replaced with a more complicated system involving automated searches, environment variable reads, etc.

这篇关于提供旧版MEX基础结构以实现兼容性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆