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

Answers (0)

This question is closed.

Products

Asked:

on 11 Mar 2017

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!