How to stop a Matlab script from C#

조회 수: 1 (최근 30일)
Ofir Magen
Ofir Magen 2019년 6월 11일
I'm using the Matlab Compiler to create a .NET assembly from a long script. The script is calling many other scripts and has some long running operations. On the .NET side, I have a WPF app that calls this script, and I was able to send in a C# class as an object that acts as a delegate to get feedback as to where the Matlab is in the process. All good until here.
What I'm trying to do is implement a Cancel on the .NET side. How do I stop the execution of the script w/out killing the whole application?

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Compiler SDK에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by