Install a MATLAB .DLL on a machine with MATLAB already installed

6 views (last 30 days)
I have MATLAB 2017a installed on my machine that I use on a daily basis. In one of the Excel application that I need to use there is a MATLAB add-on in the form of a .DLL. When we tried to install the .DLL this failed due to MATLAB already being installed on the machine.
My colleagues have been able to install the .DLL successfully as they do not have MATLAB installed on their machines.
Can you tell me, or show me a link, to where a MATLAB .DLL and MATLAB can be installed in parallel? Or if this is not possible is there a work around with the non-compiled version of the .DLL files.
Thanks in advance.

Answers (1)

Nagarjuna Manchineni
Nagarjuna Manchineni on 21 Jun 2018
Hi Gavin,
I believe the MATLAB Runtime might not be installed on your computer or the path of the MATLAB Runtime is not part of your environment variables. So, follow the below instructions:
  1. Ensure MATLAB Runtime is installed or not. If not, install from the following location
  2. Add the path of the MATLAB Runtime ahead in the path environment variable. See the following link
  3. Once the env is set properly. Close all excel instances and open a new Excel application and try again.
  1 Comment
Gavin Lecky
Gavin Lecky on 21 Aug 2018
Is it in Excel/VBA or MATLAB that I need to add the path environment variable to? I cannot figure this out from the given link.

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!