Problem in setting up MATlink

2 views (last 30 days)
Deepa Maheshvare
Deepa Maheshvare on 2 Jan 2020
Answered: Naga on 21 Feb 2025
I am trying to set up a MATlink using the instructions given here. I get an error while running the following commands
Needs["MATLink`"]
OpenMATLAB[]
Error:
the procedure entry point gzdirect could not be located in the dynamic
link library C:\Program Files\MATLAB\R2019b\bin\win64\libxml2.dll
Could someone suggest how this can be resolved?
Thanks

Answers (1)

Naga
Naga on 21 Feb 2025
If you encounter an error indicating that a procedure entry point could not be located in a dynamic link library, follow these steps:
  1. Check that no other versions of the problematic DLL are located in directories that take precedence over MATLAB's directories in the system path. Adjust the path if necessary.
  2. Determine if other installed software has placed a conflicting version of the DLL in a common directory. Temporarily rename or relocate the conflicting DLL to test if it resolves the issue.
  3. Security software might interfere with MATLAB's operation. Temporarily disable it or boot your system into Safe Mode to diagnose the issue. If disabling resolves the issue, adjust the security settings to allow MATLAB to function properly.
  4. If the issue persists, consider reinstalling MATLAB to ensure all libraries are correctly installed and registered.
By following these steps, you should be able to resolve the library loading error and restore MATLAB's functionality.

Categories

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

Tags

Products

Community Treasure Hunt

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

Start Hunting!