-
1
- #1
javaelx
Chemical
- Jul 31, 2009
- 1
Hi!
I done a program for optimize a distillation column with Matlab connected with Hysys.
Now I would like to use Aspen Plus as the Chemical Simulator but I have problems to connect both programs.
I know how to connect Matlab and Aspen :
Aspen = actxserver('Apwn.Document');
invoke(Aspen,'InitFromArchive2', 'C:\ paht to aspen file.apw');
Aspen.Visible=1;
In this way, you must have the aspen file close, and is open by maltab when you run the program.
But the problem is that I need to connect Matlab with an open file of Aspen Plus, for read some values
Sorry for my english.
Best regards
I done a program for optimize a distillation column with Matlab connected with Hysys.
Now I would like to use Aspen Plus as the Chemical Simulator but I have problems to connect both programs.
I know how to connect Matlab and Aspen :
Aspen = actxserver('Apwn.Document');
invoke(Aspen,'InitFromArchive2', 'C:\ paht to aspen file.apw');
Aspen.Visible=1;
In this way, you must have the aspen file close, and is open by maltab when you run the program.
But the problem is that I need to connect Matlab with an open file of Aspen Plus, for read some values
Sorry for my english.
Best regards