How to use actxserver create serveral independent COM Object?
4 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Mario Malic
2022 年 12 月 6 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Use COM Objects in MATLAB についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!