How do I generate an installer for a custom hardware support package?

31 Ansichten (letzte 30 Tage)
Jeremy
Jeremy am 15 Nov. 2024 um 18:41
Beantwortet: Sreeram vor etwa 21 Stunden
I have a hardware support package ready to go, with a custom hardware target and blockset. If i use Add-Ons -> Package Toolbox it create a standard toolbox installer (*.mltbx), which gets installed to:
C:\Users\<user>\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\<toolbox>
Support packages (*.mlpkginstall I think?) get installed to:
C:\ProgramData\MATLAB\SupportPackages\R2023a\toolbox\target\supportpackages\<toolbox>
Problem is, the standard install path includes a space, which breaks things (compiler paths, imported code paths in library models, etc.). When I manually move the folder to the support package path everything works fine but this is not ideal as I would then have to manag,e the persistent MATLAB search path, and it would break MATLAB's ability to manage the add-on.
How do I generate an installer that installs to the support package path?

Antworten (1)

Sreeram
Sreeram vor etwa 21 Stunden
Hi Jeremy,
To change the default Add-On installation folder, on the HOME tab in the ENVIRONMENT section, select Preferences > MATLAB > Add-Ons. Then, in the Installation Folder field, specify the desired path where MATLAB should put Add-Ons. In case the folder does not have write permission, you may have to manually grant the write permission using the Windows File Explorer.
More details on this are available in this documentation page:
Thanks

Kategorien

Mehr zu Deployment, Integration, and Supported Hardware finden Sie in Help Center und File Exchange

Produkte


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by