Visual Basicのプログラ​ムでMATLABオー​トメーションサーバに​接続しようとすると、​「実行時エラー'42​9'」が発生します。

3 Ansichten (letzte 30 Tage)
MathWorks Support Team
MathWorks Support Team am 29 Jun. 2009
Visual BasicのプログラムでMATLABオートメーションサーバに接続しようとすると、「実行時エラー'429'」が発生します。
(エラーメッセージ)
実行時エラー'429':
ActiveXコンポーネントはオブジェクトを作成できません。

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 29 Jun. 2009
オートメーションサーバが作成されていないことが原因です。次の手順で、オートメーションサーバとしてMATLABを起動した後で、再度実行してください。
1. Windowsのスタートアップメニューから「ファイル名を指定して実行」を選択します。
2. 次のコマンドを入力して「OK」をクリックします。
"C:\Program Files\MATLAB\R2007b\bin\win32\matlab.exe" /regserver
(注意)
「C:\Program Files\MATLAB\R2007b」の部分はMATLABのインストールディレクトリになるため、ご利用の環境やバージョンによって異なります。

Weitere Antworten (0)

Kategorien

Mehr zu COM オートメーション サーバーとしての MATLAB の呼び出し finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!