Random crashes when calling functions from a dll
Ältere Kommentare anzeigen
I am experiencing crashes of Matlab when I call functions from an external dll (with calllib). What is especially weird is that all of these functions causing crashes actually work... from time to time. When I run my script containing the calls to functions, it can crash at one point, then I run Matlab again, run the script with the exact same input data, and it crashes at another function call, or even between function calls! There is no obvious crash pattern.
I cannot attach the dll itself but here are the header file and the script containing the calllibs, if it is of any help.
3 Kommentare
Arnaud Samie
am 1 Jul. 2019
Arnaud Samie
am 1 Jul. 2019
Charles Smith
am 15 Aug. 2023
Did you ever find a solution to this? I'm having a similar issue.
Antworten (0)
Kategorien
Mehr zu C Shared Library Integration 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!