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?
1 次查看(过去 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!