Error when running actxserver ('Excel.Application') from a standalone application

20 ビュー (過去 30 日間)
Grigoris
Grigoris 2021 年 2 月 9 日
My standalone application compiled with Matlab application compiler (R2018b) produces an error when executing this statement in the code:
hExcel = actxserver('Excel.Application');
The error is: "myapp crashed in function actxserver line 93 due to the following ERROR: Server creation failed. Invalid ProgID 'Excel.Application'."
When I run the code from the Matlab command window there is no error. Do I need to pass any arguments to mcc when compiling the application?

回答 (0 件)

カテゴリ

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

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by