unique Matlab COM sessions for each client?

Hi,
We are trying to use MATLAB automation. In VB we followed help:
To set up your Visual Basic project:
  • Select the Project menu.
  • Select Reference from the subsequent menu.
  • Check the box next to the MATLAB Application Type Library.
  • Click OK.
In your Visual Basic code, use the New method to create the server:
Matlab = New MLApp.MLApp
this worked. However, if we have multiple VB applications(.exe), they all connect to the same Matlab environment and messes with each other. Is there a way to create unique Matlab sessions for each client?
Bob

回答(0 个)

此问题已关闭。

产品

提问:

2017-3-11

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by