Using "classifySound" and generate .Net dll
Ältere Kommentare anzeigen
I wrote a Matlab function which takes a 'wav' file and classify it using 'classifySound'. It works well on the Matlab.Then I've generated a .Net dll in order to integrate this function to a.Net environment. Although I have installed the corresponding Matlab Runtime Environment I could not run the .dll and got error that mentions 'classifySound' function cannot found.
Antworten (1)
Meet
am 19 Jun. 2025
0 Stimmen
Hi Ahmet,
You could follow the below troubleshooting steps in order to resolve the issue:
- When using MATLAB Compiler SDK, all dependent MATLAB files (including "classifySound.m") must be included, otherwise, they won't be packaged into the ".dll" and thus would not be visible at runtime.
- Try running the application as an administrator on the target machine to rule out permission issues. Also, verify that no antivirus or security software on the target machine is blocking the DLL.
- Use tools like Dependencies (Open source rewrite of dependency walker) to ensure all dependencies of your DLL, including indirect ones, are present on the target machine. (https://github.com/lucasg/Dependencies)
Hope this helps resolve the issue!!
Kategorien
Mehr zu Get Started with Microsoft .NET finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!