vba调用matlab7编译好的exe可执行文件时出错
通过vba调用matlab7编译好的exe可执行文件时出错,出错提示:cannot find the directory containing the 'cui' component, which is required by this application. Make sure the directory containing 'cui.ctf' is on your dynamic load library path (PATH on windows, or LD_LIBRARY_PATH on Linux, for example), or your application search path (PATH on both windows and Linux). Error initializing CTF Archive
请高手看看,如何解决这个问题?该程序在window界面可以执行,在matlab界面可以运行成功,将该编译好的可执行文件发布到已经安装好了MCRinstaller的电脑上也可独立运行,就是通过VBA调用的时候就出现这个问题了。