How to open .dll file in MATLAB?
35 visualizaciones (últimos 30 días)
I am working on project which is based on C# in visual studio. I have some .dll file in project that i want to import and use .dll API in MATLAB.
Please can you guide me how can I import .dll in MATLAB and use API?
Bala Tripura Bodapati el 21 de Nov. de 2022
It is my understanding that you would like to import a 'DLL' file created from C# in MATLAB.
You can use the 'NET.addAssembly' function to load the .dll file.
The following code illustrates the usage of the 'NET.addAssembly' function:
info = NET.addAssembly('full path to .dll file');
Refer the addAssembly documentation for more information.