# MATLAB: Matlab COM connection using an actxserver

actxserverMATLAB

Hello,
I'm running a Matlab script to invoke an another software (Surfer) to calculate grids from data. The code was downloaded from fileexchange – ( gridding_surfer ). The code worked perfectly some months ago, however now I'm not able to run the code.
After I run
SurferApp = actxserver('surfer.application');
I'm getting an error code:
Error using fevalServer Creation Failed: Server execution failedError in actxserver (line 86)        h=feval(['COM.' convertedProgID], 'server', machinename, interface);
Apparently the progID is not working, I checked the Windows registry, but everything seems to be fine there and a progID is associated the application. Is there a way how to debug it more in detail, e.g. list or edit or progID?

'Save as surfer.vbs in the current matlab folderDim objsurfSet objsurf = CreateObject("surfer.application")
dos(sprintf('cscript.exe "%s", fullfile(pwd, 'surfer.vbs')))