MATLAB Answers


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

Asked by Gavin Lecky on 19 Jun 2018
Latest activity Commented on by Gavin Lecky on 21 Aug 2018
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.


Sign in to comment.


1 Answer

Answer by 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

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.