Describe the methods of the class COM.Apwn_Document in more detail

5 ビュー (過去 30 日間)
C
C 2024 年 12 月 19 日
コメント済み: C 2024 年 12 月 23 日
Aspen = actxserver('Apwn.Document.38.0');
Execution of script actxserver as a function is not supported:
/MATLAB/toolbox/matlab/winfun/actxserver.m
[~,address] = fileattrib;
SimulationName = 'SimulationName';% Aspeen Plus Simulation Name
Application.invoke('InitFromArchive2',[address.Name '\' SimulationName '.bkp']);
Aspen.Visible = 1;
Aspen.SuppressDialogs = 1;
Aspen.Engine.Run2(1); % Run the simulation
When running this code, it shows that Aspen is a class COM.Apwn_Document. So what's the detailed meaning of its functions and properties? Thanks.

回答 (1 件)

Swastik Sarkar
Swastik Sarkar 2024 年 12 月 19 日
Hi @C,
Running actxserver returns a COM object with specific properties, methods, events, and interfaces. The methods of the object can be inspected using the following approach:
Aspen = actxserver('Apwn.Document.38.0');
methodsview(Aspen);
This command should list information about all the methods associated with that object. This is a recognized workflow, and more information about the workflow can be found here:
To learn more about methodsview, refer to the following documentation:
Hope this helps figure out the methods of the COM Object.
  3 件のコメント
Walter Roberson
Walter Roberson 2024 年 12 月 19 日
You would have to contact the Aspen documentation for that; that information is not available in the Mathworks documentation.
C
C 2024 年 12 月 23 日
thank you

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMATLAB Support Packages についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by