How to terminate a running compiled library

1 visualización (últimos 30 días)
Fabio Canesin
Fabio Canesin el 7 de Dic. de 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.

Respuestas (0)

Categorías

Más información sobre C Shared Library Integration en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by