How to use actxserver create serveral independent COM Object?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
oMaxwell = actxserver('Ansoft.ElectronicsDesktop')
eg. I want to run this code twice to create two independent application desktop, so that I can open two different Projects.
0 commentaires
Réponses (1)
Mario Malic
le 6 Déc 2022
Try to save both of the application handles.
oMaxwell1 = actxserver('Ansoft.ElectronicsDesktop');
oMaxwell2 = actxserver('Ansoft.ElectronicsDesktop');
See if you get both instances visible:
oMaxwell1.Visible = true;
oMaxwell2.Visible = true;
0 commentaires
Voir également
Catégories
En savoir plus sur Use COM Objects in MATLAB dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!