actxserver
Creates COM server.
📝Syntax
h = actxserver(progid)
h = actxserver(progid, 'machine', machineName)
📥Input Arguments
Parameter Description
progid a string: the name of a COM server.
machineName a string: the name of the machine on which to start the server.
📤Output Arguments
Parameter Description
h a COM object.
📄Description

h = actxserver(progid) creates a COM server using the progid identifier.

💡Examples
h = actxserver('Excel.application')
pTextToSpeech = actxserver('Sapi.SpVoice')
for i = 0:5
  invoke(pTextToSpeech, 'Speak', int2str(5 - i));
end
invoke(pTextToSpeech, 'Speak', _('Welcome to COM Interface for Nelson !'));
delete(pTextToSpeech)
clear pTextToSpeech
🔗See Also
actxGetRunningSrv
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub