Ghost Excel processes created when invoking Matlab from Excel

2 ビュー (過去 30 日間)
Dima
Dima 2019 年 2 月 26 日
回答済み: Dima 2019 年 2 月 27 日
Hi,
I am using Matlab R2011B and excel link EX 3.1.4
when I try to run matlab scripts from VBA - for each Matlab script (whcih creates a chart and saves it) -excel link creates a Ghost Excel process - which just remian in the memory - even if the excel is closed.....after 50 or so VBA cyles - system CRASHES - can someone please help? hwo can I close these Ghost Excel processs via matlab of vba??? here is the vba code:
Sub matlab()
Dim matlab As Object
Dim filepath As String
Set matlab = CreateObject("matlab.application")
filepath = "cd " + ActiveWorkbook.Path
Call matlab.Execute(A)
Call matlab.Execute("B")
Call matlab.Execute("C")
End Sub
  1 件のコメント
Dima
Dima 2019 年 2 月 26 日
Maybe there is a way to kill the EXCACT LAST PROCESS OPENED BY MATLAB? not the main excel process?

サインインしてコメントする。

回答 (1 件)

Dima
Dima 2019 年 2 月 27 日
this is avery URGENT matter - can someone please help???

カテゴリ

Help Center および File ExchangeMATLAB Functions in Microsoft Excel についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by