从matlab调用exe文件时出现问题

从matlab调用exe文件时出现问题,matlab,exe,Matlab,Exe,我使用matlab的编译器工具箱将一些.m文件打包成.exe文件。 当我试图通过单击和调用matlab(使用'system'命令)来运行它时,它失败了,出现了这个错误 Could not find the version 8.1 of the MCR Attempting to load mclmcrrt8_1.dll Pealse install the corect version of the MCR Contact your vendor if you do not have an i

我使用matlab的编译器工具箱将一些.m文件打包成.exe文件。 当我试图通过单击和调用matlab(使用'system'命令)来运行它时,它失败了,出现了这个错误

Could not find the version  8.1 of the MCR
Attempting to load mclmcrrt8_1.dll
Pealse install the corect version of the MCR
Contact your vendor if you do not have an installer for the MCR
安装正确版本的McRinshiller后,我可以通过单击来运行.exe文件,但尝试从matlab调用它(使用“system”命令)仍然失败,并出现该错误:( 有人能帮我解决这个问题吗?我正在使用Win8.1和Matlab2013a。
非常感谢!

可执行文件是用您正在使用的相同版本的matlab(2013a)编译的吗?感谢您的关心!这失败是因为我在构建项目时添加的文件不正确,并且我已经修复了它