ヘルプ センターヘルプ センター
オートメーション サーバーの実行インスタンスのハンドル
c = actxGetRunningServer(progid)
例
c = actxGetRunningServer(progid) は、OLE オートメーション サーバーの実行インスタンスへの参照を取得します。サーバーの既定インターフェイスのハンドルを返します。
c
progid
progid で指定されたサーバーが現在実行中でない場合、あるいはサーバー オブジェクトが登録されていない場合、この関数はエラーを返します。サーバーの複数のインスタンスが実行中の場合、オペレーティング システムがこの関数の動作を制御します。
すべて折りたたむ
c = actxGetRunningServer('Excel.Application'); list = fieldnames(c)
プログラム識別子。string または文字ベクトルとして指定します。ProgID はサーバー ベンダーのドキュメンテーションで指定されています。
例: 'Excel.Application'
'Excel.Application'
COM オブジェクト。関数ハンドルとして返されます。
COM 関数は、Microsoft® Windows® システムでのみ使用可能です。
R2007a で導入
actxserver
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office