MATLAB Engine Windows 7 problem

社会主义新天地 提交于 2019-12-04 17:12:13

This error is likely due to incorrect installation or multiple installations of Matlab on your machine. Check your Windows %PATH% environment variable by opening a command window and typing

echo %PATH%

When it contains references to more than a single Matlab installation, edit %PATH% and remove all of them except the reference to the installation you are going to use with your program. The following dlls must be in your %PATH%: libeng.dll and libmx.dll. Don't copying these dlls to a system directory -- change your %PATH% instead.

Make sure to execute this command on the command line to register the Matlab engine with Windows COM.

matlab /regserver
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!