フィルターのクリア

How do you change install directory for supportpackageinstaller

5 ビュー (過去 30 日間)
Vijay Maddali
Vijay Maddali 2017 年 8 月 21 日
コメント済み: Walter Roberson 2017 年 8 月 21 日
I am trying to have the C2000 target support package available in a local directory. Supportpackageinstaller automatically assigns the install directory and does not give an option to change it.

回答 (2 件)

Sebastian Castro
Sebastian Castro 2017 年 8 月 21 日
There is a MATLAB preference for the add-on install folder. See this screenshot (R2017a).
- Sebastian
  2 件のコメント
Vijay Maddali
Vijay Maddali 2017 年 8 月 21 日
Thanks for the answer. However, I am planning to install at a location different from where Matlab wants to install.
Walter Roberson
Walter Roberson 2017 年 8 月 21 日
... change the preference?
However, the support package installer tries to keep track of which packages are installed, and I suspect that if you just changed the preference then it will get confused about the packages that had been previously installed.

サインインしてコメントする。


Walter Roberson
Walter Roberson 2017 年 8 月 21 日
This will give you a .mkpkginstall file. If I recall correctly it is a zip file that can be unzipped and then you can pull out the pieces to install them separately.
However, the code generation packages such as the C2000 typically require several steps of downloading third party tools, which you would have to do by hand, and you would have to know all of the right settings in Simulink to get it to recognize the package.
Sometimes it is easier to uninstall all your existing support packages, then change the preference to point to a different location, and then install those packages back along with the new package.
  2 件のコメント
Vijay Maddali
Vijay Maddali 2017 年 8 月 21 日
Thank Walter! The downloaded package doesn't appear to be a zip file. You said one could change through preference where the package can be installed. It already shows local directory in the preferences for Add_ons. However, it is trying to install on a network drive where our Matlab is installed.
Walter Roberson
Walter Roberson 2017 年 8 月 21 日
Hmmm, that appears to be an XML file, and looking at it I cannot see how it works :( It looks like it just provides a key for the add-on manager to contact Mathworks to do the downloading.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by