Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

unique Matlab COM sessions for each client?

1 vue (au cours des 30 derniers jours)
Bob Li
Bob Li le 11 Mar 2017
Clôturé : MATLAB Answer Bot le 20 Août 2021
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

Réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by