we want to to open a simulink model using mscript but if there is two MATLAB versions installed then how to seelect a particular MATLAB version
現在この質問をフォロー中です
- フォローしているコンテンツ フィードに更新が表示されます。
- コミュニケーション基本設定に応じて電子メールを受け取ることができます。
エラーが発生しました
ページに変更が加えられたため、アクションを完了できません。ページを再度読み込み、更新された状態を確認してください。
古いコメントを表示
Actually we want a mscript patch which we can add in our existing mscript & we can open our model in whatever MATLAB version we want, if there is multiple mMATLAB version installed on our system
採用された回答
In the past, Mathworks has indicated that the method is to use the matlab.exe /register flag to register the version you want to invoked.
8 件のコメント
We have a VBA code(macro) which uses command "Matlab.application" to initiate Matlab. Two Matlab version is installed on our system 6.1 & 2006b. We have set 2006b as default Matlab version but when we run VBA code it opens Matlab 6.1. We want it to get open in 2006b
You have already started up R2006b MATLAB with the /register flag ?
In that case I would contact Mathworks technical support.
Looks like it should have been -regserver instead of /register
Thanks Walter I found one command from the link you provided which works. Using "Matlab.Activeserver" instead of "Matlab.Application". My problem got solved when we have two Matlab version where one is 6.1 & other is 2006b. But this command did not solve the same issue when We have two matlab version where one is 6.1 & other is 2011b. Please suggest if there is any command which works for all the Matlab version to invoke the Default Matlab Version?
I suggest contacting Mathworks technical support.
My problem solved by "Matlab.Desktop.Application" command
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Installing Products についてさらに検索
参考
2013 年 1 月 1 日
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
- América Latina (Español)
- Canada (English)
- United States (English)
ヨーロッパ
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
