Error implementing a MATLAB DLL into Direct Modeling
Hello,
i am trying to implement a .NET DLL compiled in MATLAB within an Addin-Module created with the .NET API Wizard in Visual Studio 2010. When a function from the MATLAB DLL is called, this error occurs in the console:
An Error has occurred while trying to initialize the MATLAB Runtime.
The error is: Fatal error loading library C:\Program Files\MATLAB\MATLAB Runtime\v910\bin\win64\libmat.dll Error: The specified procedure was not found.
MATLAB DLL:
- system architecture: AnyCPU (64-bit preferred)
- runtime environment: .NET Framework 4
.NET API Addin DLL:
- system architecture: x64
- runtime environment: .NET Framework 4
Application versions:
Creo Elements/Direct Modeling 20.1.4.0
Visual Studio 2010
MATLAB Runtime: 9.10
MATLAB 2021a
Is this procedure possible, if yes what can I do.

