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.
0 件のコメント
回答 (1 件)
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!
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!