How to terminate a running compiled library

1 Ansicht (letzte 30 Tage)
Fabio Canesin
Fabio Canesin am 7 Dez. 2016
I used MATLAB compiler (on 2012a) to generate a C++ shared library, from this I'm able to integrate the process in my application, but I need to be able to terminate the process if the user clicks on the "cancel" buttom.
My library is called MSILIB, simple calling:
MSILIBTerminate();
mclTerminateApplication();
Does not seams to work and the application hangs. For being able to have the cancel buttom behaviour I`m launching the MATLAB function call from a second thread.

Antworten (0)

Kategorien

Mehr zu C Shared Library Integration finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by