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?

6 views (last 30 days)
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

MathWorks Support Team
MathWorks Support Team on 18 Oct 2013
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
Namita Vishnubhotla
Namita Vishnubhotla on 22 Apr 2016
Please refer to the following link for more information on system path: https://java.com/en/download/help/path.xml
Samarth Shah
Samarth Shah on 24 Feb 2017
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

Find more on Data Export to MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!