Why do I get an error regarding "cl_inventor2sm.dll" or "cl_sldwks2sm.dll" when registering Simscape Multibody Link Plug-In in MATLAB R2019b?

17 views (last 30 days)
When calling "smlink_linkinv" to register the Simscape Multibody Plug-In, I see the following error:
The module "E:\MATLAB64\R2019b\bin\win64\cl_inventor2sm.dll" failed to load.
Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent .DLL files.
The specified module could not be found.
The same error is shown when calling "smlink_linksw", but the module that fails to load is cl_sldwks2sm.dll.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 28 Feb 2020
Edited: MathWorks Support Team on 18 Oct 2019
This error message caused by a missing DLL in the MATLAB installation.
To fix the issue, place the attached file "xerces-c_3_1.dll" into your MATLABROOT\bin\win64 folder, where MATLABROOT is the folder where MATLAB is installed.

More Answers (0)

Categories

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

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!