How to terminate a running compiled library
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 C Shared Library Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!