Why am I getting the error "Automation error The specified module could not be found" in Excel Builder when MATLAB 6.1 (R12.1) is on my path?

Why am I getting the following error in Excel Builder when MATLAB 6.1 (R12.1) is on my path?
Error in VBAProject: Automation error The specified module could not be found.
According to the Troubleshooting section in the Excel Builder documentation (page E-2), this error message indicates that I need to add <matlab>\bin \win32 to my path. I have checked my path and verified that <matlab>\bin \win32 is on the path.

 Accepted Answer

This error message occurs if you have more than one version of MATLAB on your system path. Anytime you have multiple versions of MATLAB, please make sure that the newest version of MATLAB appears on your path first.
You can verify that the newest version of MATLAB is on the path first by typing the following command at the DOS prompt:
path

2 Comments

Please refer to the following link for more information on system path: https://java.com/en/download/help/path.xml
If setting the newest MATLAB first on your PATH did not work, it might be some other issue. I suggest contacting MathWorks Technical Support about it.

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!