フィルターのクリア

Why shows error for connecting Matlab with Aspen Plus ?

19 ビュー (過去 30 日間)
wanrong wang
wanrong wang 2023 年 4 月 11 日
回答済み: Manikanta Aditya 2023 年 4 月 28 日
I'm trying to use the command
Aspen = actxserver('Apwn.Document.39.0'); %34.0 ---> V8.8; 35.0 ---> V9.0; and 36.0 ---> V10.0
to connect aspen plus and Matlab. It works fine when I changed it to HYSYS. But it keeps showing the following error :
Error using feval
Server Creation Failed: Server execution failed
Error in actxserver (line 89)
h=feval(['COM.' convertedProgID], 'server', machinename, interface);
Error in AspenPlus_Matlab_Link (line 5)
Aspen = actxserver('Apwn.Document.39.0'); %34.0 ---> V8.8; 35.0 ---> V9.0; and 36.0 ---> V10.0
Could any one help me on this? It is reallt important for me.
Best regards,
Wanrong
  2 件のコメント
Walter Roberson
Walter Roberson 2023 年 4 月 11 日
Are you using V12.1 ?
The format you are using, actxserver('Apwn.Document.39.0') does look plausible
wanrong wang
wanrong wang 2023 年 4 月 11 日
Yes, I am using V12.1

サインインしてコメントする。

回答 (1 件)

Manikanta Aditya
Manikanta Aditya 2023 年 4 月 28 日
Hi Wanrong,
As per my understanding, you tried running the above command to connect MATLAB and Aspen Plus and got an error ‘Server creation failed: Server Execution failed’.
The error could not be from MATLAB, but rather from windows produced error.
You can check the following MATLAB Answer to resolve the error:
I hope this resolves the issue you were facing.

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by