I am having some difficulty in using the actxserver function and receiving an error that my IT department and I cannot resolve. So I'm reaching out to the community, in order to find any workable solutions. I appreciate any and all help and details.
My real problem is booting STK, using MatLab, onto a "Remote" machine. I can use the actxserver function to boot STK, from MatLab, on a "Local" machine. Be it, when the two software tools, STK and MatLab are on the same computer, it works. When they're on different computers, it doesn't work. For debugging purposes, I tried doing this with Excel, instead of STK, and received the same error. Below is a sample of the code I run..
applicationName = 'STK.Application';
computerName = 'ABC-REMOTE-PC';
APP = actxserver( applicationName, 'machine', computerName );
If I run this little bit of code using the Local computer, meaning both MatLab and the selected application are on the same computer, then the code works. I get some sort of work space return, and STK even does a pop-up to show it is running in the background. I can see either process using Ctrl+Shift+Esc, too.
If I do this using the Remote computer, for either STK or Excel, with MatLab still on the Local computer, it does NOT work. I get no STK pop up, on the remote computer. I see nothing running in the process in the background. AND I receive the following error..
Error using feval
Server Creation Failed: Access is denied.
Error in actxserver (line 86)
h=feval(['COM.' convertedProgID], 'server', machinename, interface);
Attempted Resolutions:
- I've discussed it with my IT department, and they tell me nothing is blocking it on the Network side.
- I've turned off Windows Firewalls on both computers.
- I turned off PC Protect, and McAfee.
- I checked on Inbound/Outbound Rules and disabled anything in relation to STK, Excel, and MatLab.
I'm using MatLab 2014b. I DO NOT have the Parallel Computing Toolbox, and not sure that I do need it, since I'm not trying to boot/utilize MatLab with MatLab.
Any ideas, information, and help will be greatly appreciated.
0 Comments
Sign in to comment.