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 views (last 30 days)
Show older comments
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 Comments
Answers (1)
praguna manvi
on 12 Sep 2024
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 Comments
See Also
Categories
Find more on Use COM Objects in MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!