How do I extract or call a set of data like PSD(particle size distribution) to Matlab from Aspen Plus using Actxserver without using Excel?

2 ビュー (過去 30 日間)
I have been assigned a project which works by linking Aspen Plus with Matlab. What my work is to extract multiple data points to matlab using actx server. For example, I was able to get temperature & pressure data as they are single variable whereas, for Particle Size Distribution(PSD) data it cosists of an array of elements. We have mess sizes & mole fraction of crystals. How do I tell matlab to get that data from Aspen Plus? Please help me with this doubt. Currently using Aspen V12 version.

回答 (1 件)

praguna manvi
praguna manvi 2024 年 9 月 12 日
Hi Gopi,
As per my understanding, you are trying to link Aspen Plus with MATLAB through COM. There is a File Exchange submission that provides a utility to link Aspen Plus with MATLAB. It uses "actxserver" and includes an example. You could use Apwn.Document to create an object which can be used to extract data as follows:
Aspen = actxserver('Apwn.Document.36.0'); % 36.0 corresponds to V10.0
You can refer to a detailed example at this link on File Exchange:
Hope this helps!

カテゴリ

Help Center および File ExchangeUse COM Objects in MATLAB についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by