How to make sure MATLAB uses correct version of dll's?

6 views (last 30 days)
Background:
I have a new Windows 10 computer at my new job (November 1. 2024) and I have +10 years of experience with MATLAB.
Problem and question:
In short I am stuck with point 6) as described in my history below. My question is: how to make sure MATLAB does not use the wrong version of specific dll's?
History:
  1. After transferring some path settings from a startup.m file to a project specific Git controlled m-file my MATLAB started complaining on any command. More specifically it was this error that popped up for every entry on the command line: https://se.mathworks.com/support/search.html/answers/307356-why-do-i-get-error-using-eval-undefined-function-workspacefunc-for-input-arguments-of-type-stru.html?fq%5B%5D=asset_type_name:answer&fq%5B%5D=category:matlab/startup-and-shutdown&page=1
  2. After trying all the proposed solutions mentioned in above answer without success I ended with the last step which is reinstall of MATLAB.
  3. Even after uninstall of MATLAB in Windows, deletion of MATLAB install folder and no MATLAB evironment variables; a clean install of MATLAB (2024b) results in these two error messages for me during install and will not start MATLAB afterwards.
  4. This kind of error is described here: https://se.mathworks.com/matlabcentral/answers/110328-why-do-i-receive-the-error-message-the-procedure-entry-point-could-not-be-located-in-the-dynamic-li . However, it is not clear to me how I can make MATLAB use the right version of these dll's. PS I don't have enough reputation points to comment on that post even though my problem is much related I guess.
  5. In an attempt to solve this problem I installed MATLAB 2024a and it installed without the error from the 4) and 5) screenshots above. However, that brought me back to the error mentioned in 3). So my best guess is still 6).
Thank you for any help.
Regards Bo
  4 Comments
Song-Hyun Ji
Song-Hyun Ji on 9 Dec 2024
Edited: Song-Hyun Ji on 9 Dec 2024
Please reach out to the Install Support team via the link below.

Sign in to comment.

Accepted Answer

Bo Holm-Rasmussen
Bo Holm-Rasmussen on 9 Dec 2024
Installing the latest version of R2024b fixes the problem. The previous version of R2024b contained a bug and that version is no longer available.

More Answers (0)

Categories

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

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!