Server Creation Failed: Server execution failed error while using actxserver ('Excel.Application')

Hi, When invoking actxserver ('Excel.Application') from MATLAB, I'm getting the following error.
Error using feval Server Creation Failed: Server execution failed
Error in actxserver (line 86) h=feval(['COM.' convertedProgID], 'server', machinename, interface);
I tried repairing excel, restarted PC and still the same error.
Matlab Version : R2014a (8.3.0.532) 32-bit (win32)

回答 (1 件)

Sreeram
Sreeram 2025 年 5 月 8 日
Hi Mira,
This error usually means MATLAB is unable to connect to Excel due to an issue with your system, often related to your Office installation, antivirus software, or Windows settings. For a list of troubleshooting steps, see this post from MathWorks Support Team:

カテゴリ

ヘルプ センター および File ExchangeUse COM Objects in MATLAB についてさらに検索

質問済み:

2015 年 4 月 17 日

回答済み:

2025 年 5 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by